Skip to content

Commit

Permalink
(fix): case insensitive rpc endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jipperism committed Mar 11, 2024
1 parent 79e6961 commit 53dd196
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/useFetchHyperboardContents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const processRegistryForDisplay = async (
const ownerAddresses = _.uniq([
...fractions.map((x) => x.owner),
...allowlistResults.map((x) => x.owner),
blueprints.map((b) => b.minter_address.toLowerCase()),
...blueprints.map((b) => b.minter_address.toLowerCase()),
]) as string[];

// Fetch display data for all owners
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
create or replace function default_sponsor_metadata_by_address(addresses text[]) returns setof default_sponsor_metadata as $$
select * from default_sponsor_metadata
where lower(address) = any(addresses)
$$ language sql;

0 comments on commit 53dd196

Please sign in to comment.