From 008a9fb65ebce5b7a4ebd478080387b73c43f47e Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Tue, 11 Jun 2024 16:28:24 -0600 Subject: [PATCH] fix(info): update info endpoint to include process id --- docs/openapi.yaml | 1 + src/server.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 3baf533..09d79e5 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -36,6 +36,7 @@ components: properties: wallet: { '$ref': '#/components/schemas/ArweaveWallet' } contractId: { '$ref': '#/components/schemas/ArweaveId' } + processId: { '$ref': '#/components/schemas/ArweaveId' } OwnershipAssessment: type: object properties: diff --git a/src/server.ts b/src/server.ts index a226899..80ba03e 100644 --- a/src/server.ts +++ b/src/server.ts @@ -82,6 +82,7 @@ app.get('/ar-io/observer/info', (_req, res) => { res.status(200).send({ wallet: walletAddress, contractId: config.CONTRACT_ID, + processId: config.IO_PROCESS_ID, }); });