Skip to content

Commit 145ae4c

Browse files
authored
fix: AA header is optional (#621)
1 parent 0ba2550 commit 145ae4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/schemas/wallet/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export const walletHeaderSchema = Type.Object({
1616

1717
export const walletWithAAHeaderSchema = Type.Object({
1818
...walletHeaderSchema.properties,
19-
"x-account-address": {
19+
"x-account-address": Type.Optional({
2020
...AddressSchema,
2121
description: "Smart account address",
22-
},
22+
}),
2323
});
2424

2525
export const walletChainParamSchema = Type.Object({

0 commit comments

Comments
 (0)