From b3df1dd7a653909fb3f18ed7c0c91ffa347480fb Mon Sep 17 00:00:00 2001 From: Zephyrrus Date: Thu, 7 Jan 2021 21:36:56 +0200 Subject: feat: change mutation timestamp on every database mutation --- src/api/routes/auth/registerPOST.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/routes/auth') diff --git a/src/api/routes/auth/registerPOST.js b/src/api/routes/auth/registerPOST.js index 54e683e..7b9eb3c 100644 --- a/src/api/routes/auth/registerPOST.js +++ b/src/api/routes/auth/registerPOST.js @@ -55,7 +55,7 @@ class registerPOST extends Route { editedAt: now, enabled: true, isAdmin: false - }); + }).wasMutated(); return res.json({ message: 'The account was created successfully' }); } } -- cgit v1.2.3