Skip to content

Commit

Permalink
change token-spec response to match typical schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Jun 14, 2024
1 parent 46b92e8 commit 09e8d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/route/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export async function initApiServer(
if (error) {
reply.code(400).send({ error, result: null });
} else {
reply.code(200).send({ isSep41Compliant: result, error: null });
reply.code(200).send({ data: result, error: null });
}
} catch (error) {
reply.code(500).send("Unexpected Server Error");
Expand Down

0 comments on commit 09e8d8b

Please sign in to comment.