added a check for signup events

This commit is contained in:
Vladyslav Matsiiako
2023-08-13 18:26:41 -07:00
parent 67a8211cb0
commit 83465dff2d
5 changed files with 11 additions and 5 deletions
@@ -362,7 +362,8 @@ export const createSecret = async (req: Request, res: Response) => {
secretCommentCiphertext,
secretCommentIV,
secretCommentTag,
secretPath = "/"
secretPath = "/",
source
} = req.body;
const secret = await SecretService.createSecret({
@@ -380,7 +381,8 @@ export const createSecret = async (req: Request, res: Response) => {
secretPath,
secretCommentCiphertext,
secretCommentIV,
secretCommentTag
secretCommentTag,
source
});
await EventService.handleEvent({