fix: optional fields in embeds (#1691)

Fix optional fields blocking the signature process in embeds
This commit is contained in:
Catalin Pit
2025-03-08 01:21:29 +02:00
committed by GitHub
parent 27b81bc807
commit 5dfb17c216
6 changed files with 57 additions and 33 deletions

View File

@ -452,7 +452,7 @@ export const fieldRouter = router({
return await signFieldWithToken({
token,
fieldId,
value,
value: value ?? '',
isBase64,
userId: ctx.user?.id,
authOptions,