mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 17:44:21 +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.`);
|
||||
}
|
||||
|
||||
const providerData = deserializeAndSanitizeProviderData<'email'>(authIdentity!.providerData);
|
||||
const providerData = deserializeAndSanitizeProviderData<'email'>(authIdentity.providerData);
|
||||
await updateAuthIdentityProviderData<'email'>(providerId, providerData, metadata);
|
||||
|
||||
emailSender.send(content).catch((e) => {
|
||||
|
@ -16,7 +16,9 @@ export type {= typeName =}<Input extends JSONObject, Output extends JSONValue |
|
||||
export const {= jobName =} = createJobDefinition({
|
||||
jobName: '{= jobName =}',
|
||||
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
|
||||
jobSchedule: {=& jobSchedule =},
|
||||
entities,
|
||||
|
Loading…
Reference in New Issue
Block a user