Update project-router.ts

This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:25 +01:00
parent 39ae66a84f
commit c0e0ddde76
@@ -249,7 +249,6 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
} }
}); });
// Is this actually used..?
server.route({ server.route({
url: "/:workspaceId/invite-signup", url: "/:workspaceId/invite-signup",
method: "POST", method: "POST",
@@ -279,7 +278,6 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
const invitee = invitees[0]; const invitee = invitees[0];
// eslint-disable-next-line no-await-in-loop
await server.services.auditLog.createAuditLog({ await server.services.auditLog.createAuditLog({
...req.auditLogInfo, ...req.auditLogInfo,
projectId: req.params.workspaceId, projectId: req.params.workspaceId,