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
@@ -102,7 +102,7 @@ function Koneksyon({chimen}) {
'content-type': 'application/json'
}
})
localStorage.setItem('user-id', response?.data?.user?._id)
localStorage.setItem('user-id', response?.data?.user?.id)
setSuccess(true)
resetRegisterForm()
} catch (error_) {