Skip to content

Commit

Permalink
solution: auth api for tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Jul 3, 2024
1 parent 467959e commit 50a4ba7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/node/src/wrapped/Factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import * as market_pb from '../generated/market_pb';
import * as token_message_pb from '../generated/token.message_pb';
import * as transaction_message_pb from '../generated/transaction.message_pb';
import * as auth_message_pb from '../generated/auth_pb';
import * as auth_pb from "@emeraldpay/api-web/src/generated/auth_pb";

export const classFactory: MessageFactory = (id: string) => {
switch (id) {
Expand All @@ -33,7 +32,7 @@ export const classFactory: MessageFactory = (id: string) => {
case 'auth_pb.AuthResponse':
return new auth_message_pb.AuthResponse();
case 'auth_pb.ListTokensRequest':
return new auth_pb.ListTokensRequest();
return new auth_message_pb.ListTokensRequest();
// Address
case 'address_message_pb.DescribeRequest':
return new address_message_pb.DescribeRequest();
Expand Down

0 comments on commit 50a4ba7

Please sign in to comment.