Replace _id by id

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-05 17:58:05 +04:00
parent 3a21a6abee
commit 51879ba5aa
11 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export default function ResetDialog({lyen, title, activation, content, open, set
if (activation) {
const user = await jwennUserEpiEmail(email)
localStorage.setItem('user-id', user?._id)
localStorage.setItem('user-id', user?.id)
}
setLoading(false)