1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-18 00:19:49 +01:00

fix: remove req.body from the splash object when update

This commit is contained in:
Youssef 2021-11-12 12:44:17 +01:00
parent 314c60393f
commit 0199d1f211

View File

@ -36,7 +36,6 @@ class UserSplashController extends Controller {
const { id } = req.params; const { id } = req.params;
const splash = { const splash = {
...req.body,
splashId: id, splashId: id,
userId: user.id, userId: user.id,
seen: true, seen: true,