Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin @biomejs/biome dependency #1007

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch origin/main
  • Loading branch information
junlarsen committed Sep 23, 2024
commit 88684719f930635b52b955db72d49506f6393b09
5 changes: 4 additions & 1 deletion apps/brevduen/src/lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ export const handler: Handler<APIGatewayProxyEventV2, APIGatewayProxyResultV2> =
return { statusCode: 400, body: `Provided arguments don't match email input schema: ${err.message}` }
}
if (err instanceof InvalidTemplateArguments) {
return { statusCode: 400, body: `Arguments provided to template don't match the template's argument schema: ${err.message}` }
return {
statusCode: 400,
body: `Arguments provided to template don't match the template's argument schema: ${err.message}`,
}
}
console.error(err)
return { statusCode: 500 }
Expand Down
4 changes: 2 additions & 2 deletions apps/rif/src/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const deliverConfirmationEmail = async (form: FormSchema) => {
},
}),
})
console.info(`Sent request to email endpoint, received ${response.status}`);
console.info(`Sent request to email endpoint, received ${response.status}`)
return response
}

Expand All @@ -49,6 +49,6 @@ export const deliverNotificationEmail = async (form: FormSchema) => {
},
}),
})
console.info(`Sent confirmation to email endpoint, received ${response.status}`);
console.info(`Sent confirmation to email endpoint, received ${response.status}`)
return response
}
1 change: 0 additions & 1 deletion apps/rif/src/pages/api/dispatch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { NextApiRequest, NextApiResponse } from "next"
import { formSchema } from "../../app/form-schema"
import { deliverConfirmationEmail, deliverNotificationEmail } from "../../email"
import { createSpreadsheetRow } from "../../spreadsheet"

export default async function Route(req: NextApiRequest, res: NextApiResponse) {
if (req.method !== "POST") {
Expand Down
Loading