From 6760f6347517c66ebbb677a08a6bc51453d1cd7d Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Thu, 29 Jun 2023 14:50:15 +0800 Subject: [PATCH] backend fix fn call --- backend/native/backpack-api/src/validation/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/native/backpack-api/src/validation/user.ts b/backend/native/backpack-api/src/validation/user.ts index 467c5b4db..7f311a398 100644 --- a/backend/native/backpack-api/src/validation/user.ts +++ b/backend/native/backpack-api/src/validation/user.ts @@ -31,7 +31,7 @@ export const BlockchainPublicKey = z.discriminatedUnion( // export const CreatePublicKeys = z.discriminatedUnion( "blockchain", - Object.values(BLOCKCHAINS_NATIVE).map((native) => native.ZodCreatePublicKey) + Object.values(BLOCKCHAINS_NATIVE).map((native) => native.ZodCreatePublicKey()) ); export const CreateUserWithPublicKeys = BaseCreateUser.extend({