From 2c1ea6cf2f467b3abbbb01b04f0ce47c54f22a53 Mon Sep 17 00:00:00 2001 From: farhanW3 Date: Tue, 9 Apr 2024 09:19:01 -0700 Subject: [PATCH] fix: missing querystring + description upd --- src/server/routes/contract/subscriptions/getLatestBlock.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/routes/contract/subscriptions/getLatestBlock.ts b/src/server/routes/contract/subscriptions/getLatestBlock.ts index 2e26191a3..24a3e6d3e 100644 --- a/src/server/routes/contract/subscriptions/getLatestBlock.ts +++ b/src/server/routes/contract/subscriptions/getLatestBlock.ts @@ -29,10 +29,10 @@ export async function getLatestBlock(fastify: FastifyInstance) { method: "GET", url: "/contract/subscriptions/get-last-block", schema: { - summary: "Get subscribed contract latest indexed block", - description: "Get latest indexed block for a subscribed contract", + summary: "Get latest indexed block for a chain", + description: "Get latest indexed block for a chain", tags: ["Contract-Subscriptions"], - operationId: "getContractSubscriptions", + operationId: "getLatestBlock", response: { ...standardResponseSchema, [StatusCodes.OK]: responseSchema,