From 336acd9d85a967b3fc0bdd2a4dffc0c3c7f37ad8 Mon Sep 17 00:00:00 2001 From: acolytec3 <17355484+acolytec3@users.noreply.github.com> Date: Fri, 27 Sep 2024 06:35:28 -0400 Subject: [PATCH] address feedback --- jsonrpc/src/methods/beacon.json | 5 ++++- jsonrpc/src/methods/history.json | 5 ++++- jsonrpc/src/methods/state.json | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/jsonrpc/src/methods/beacon.json b/jsonrpc/src/methods/beacon.json index 8b6bb53..074b389 100644 --- a/jsonrpc/src/methods/beacon.json +++ b/jsonrpc/src/methods/beacon.json @@ -145,7 +145,10 @@ ], "result": { "$ref": "#/components/contentDescriptors/RecursiveFindContentResult" - } + }, + "errors":[{ + "$ref": "#/components/errors/ContentNotFoundError" + }] }, { "name": "portal_beaconTraceRecursiveFindContent", diff --git a/jsonrpc/src/methods/history.json b/jsonrpc/src/methods/history.json index 1191d83..a549ff6 100644 --- a/jsonrpc/src/methods/history.json +++ b/jsonrpc/src/methods/history.json @@ -137,7 +137,10 @@ ], "result": { "$ref": "#/components/contentDescriptors/RecursiveFindContentResult" - } + }, + "errors":[{ + "$ref": "#/components/errors/ContentNotFoundError" + }] }, { "name": "portal_historyTraceRecursiveFindContent", diff --git a/jsonrpc/src/methods/state.json b/jsonrpc/src/methods/state.json index bec037c..f080090 100644 --- a/jsonrpc/src/methods/state.json +++ b/jsonrpc/src/methods/state.json @@ -137,7 +137,10 @@ ], "result": { "$ref": "#/components/contentDescriptors/RecursiveFindContentResult" - } + }, + "errors":[{ + "$ref": "#/components/errors/ContentNotFoundError" + }] }, { "name": "portal_stateTraceRecursiveFindContent",