Skip to content

Commit

Permalink
fix(schema): decode username
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrl23 committed Aug 28, 2024
1 parent 3ef48bf commit 6e22fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/emails/emailsSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const emailSendSchema = asJsonSchema({
properties: {
from: {
type: 'string',
default: smtp.username,
default: decodeURIComponent(smtp.username),
},
to: {
type: 'array',
Expand Down

0 comments on commit 6e22fcf

Please sign in to comment.