Skip to content

Commit

Permalink
Migrate findAccountsByPublicKey endpoint to QueryAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
eduohe committed Apr 18, 2024
1 parent ed4ab78 commit 52a2bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/indexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const findAccountsByPublicKey = async (ctx) => {
query: `
query access_keys_v1_by_public_key {
dataplatform_near_access_keys_v1_access_keys_v1(
where: {public_key: {_eq: \"${publicKey}\"}}
where: {public_key: {_eq: "${publicKey}"}}
) {
account_id
}
Expand Down

0 comments on commit 52a2bdf

Please sign in to comment.