Skip to content

Commit

Permalink
Merge pull request #8 from galacticcouncil/symbol-fix
Browse files Browse the repository at this point in the history
switch asset helper from symbol to asset id
  • Loading branch information
vgantchev authored Oct 31, 2023
2 parents 058f7d3 + f39c0e4 commit 8faa315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/asset_helpers.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export async function getAssets(sqlClient) {
const { rows } = await sqlClient.query("SELECT * FROM public.token_metadata");

return rows.map((v) => v["symbol"]);
return rows.map((v) => v["asset_id"]);
}

0 comments on commit 8faa315

Please sign in to comment.