Skip to content

Commit

Permalink
fix(sdk): make lastName optional in requestContact result
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed Dec 19, 2023
1 parent 510bca7 commit 29c47c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/mini-app/contactParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const contactParser = searchParams<RequestedContact>({
from: 'first_name',
},
lastName: {
type: string(),
type: string().optional(),
from: 'last_name',
},
}),
Expand Down

0 comments on commit 29c47c6

Please sign in to comment.