mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 01:52:00 +03:00
Update comment and type
This commit is contained in:
parent
7afc4f080c
commit
b4e236235c
@ -69,7 +69,7 @@ async function sendEmailAndSaveMetadata(
|
|||||||
throw new Error(`User with email: ${email} not found.`);
|
throw new Error(`User with email: ${email} not found.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const providerData = deserializeAndSanitizeProviderData<'email'>(authIdentity!.providerData);
|
const providerData = deserializeAndSanitizeProviderData<'email'>(authIdentity.providerData);
|
||||||
await updateAuthIdentityProviderData<'email'>(providerId, providerData, metadata);
|
await updateAuthIdentityProviderData<'email'>(providerId, providerData, metadata);
|
||||||
|
|
||||||
emailSender.send(content).catch((e) => {
|
emailSender.send(content).catch((e) => {
|
||||||
|
@ -16,7 +16,9 @@ export type {= typeName =}<Input extends JSONObject, Output extends JSONValue |
|
|||||||
export const {= jobName =} = createJobDefinition({
|
export const {= jobName =} = createJobDefinition({
|
||||||
jobName: '{= jobName =}',
|
jobName: '{= jobName =}',
|
||||||
defaultJobOptions: {=& jobPerformOptions =},
|
defaultJobOptions: {=& jobPerformOptions =},
|
||||||
// TODO: output job schedule args as undefined if not provided
|
// TODO: jobSchdule template variable is a JSON string
|
||||||
|
// and the "args" field is outputted as "null" but it should be "undefined"
|
||||||
|
// when the value is not provided
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
jobSchedule: {=& jobSchedule =},
|
jobSchedule: {=& jobSchedule =},
|
||||||
entities,
|
entities,
|
||||||
|
Loading…
Reference in New Issue
Block a user