Skip to content

Commit

Permalink
Fix naming issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CRBl69 committed Dec 3, 2024
1 parent aef8a94 commit 590d377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typescript/sdk/src/indexer-v2/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ export const toPriceFeed = (data: DatabaseJsonType["price_feed"]) => {
};
};

export const toRandomNamesRPCResponse = (data: DatabaseJsonType["random_names"]) =>
export const toRandomSymbolsRPCResponse = (data: DatabaseJsonType["random_symbols"]) =>
symbolBytesToEmojis("0" + data.emojis.substring(1));

export const DatabaseTypeConverter = {
Expand All @@ -619,7 +619,7 @@ export const DatabaseTypeConverter = {
[TableName.ProcessorStatus]: toProcessorStatus,
[TableName.PriceFeed]: toPriceFeed,
[DatabaseRpc.UserPools]: toUserPoolsRPCResponse,
[DatabaseRpc.RandomSymbols]: toRandomNamesRPCResponse,
[DatabaseRpc.RandomSymbols]: toRandomSymbolsRPCResponse,
};

export type DatabaseModels = {
Expand Down

0 comments on commit 590d377

Please sign in to comment.