From d046683c2ed012fea597b216ff932232cafe870d Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Mon, 1 Jul 2024 09:40:05 +1000 Subject: [PATCH] fix: return value --- services/api/src/routes/keys.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/src/routes/keys.ts b/services/api/src/routes/keys.ts index 69f7a460ef..e7b8fd213e 100644 --- a/services/api/src/routes/keys.ts +++ b/services/api/src/routes/keys.ts @@ -81,7 +81,7 @@ const keysRoute = async ( ); } - res.send(found[0].key); + res.send(foundkey[0].key); }; export default [bodyParser.json(), keysRoute];