Closed robertripoll closed 7 months ago
Hm, strange error. Not sure why this is happening. What version did you come from?
To me, the database migration / or the database here is having an issue. Meaning it is not the application itself. Hard to verify without the database.
The server is returning the following error when creating a new secret while I'm logged in (using latest version
v5.15.4
):It seems that the issue is coming from this fragment:
https://github.com/HemmeligOrg/Hemmelig.app/blob/1df56be5143629bc1cdc6c01c3b32e876785b855/src/server/controllers/secret.js#L142
I tried printing the
req?.user?.user_id
and it was the current logged user's id:e626fc45-8368-4d6f-9907-4671b09761bb
Any idea?
PS: I can make the PR myself, however, I'm not understanding the exact cause of this error.