This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-03-27 05:16:58 +04:00
parent 07d9bd178c
commit bf6bdf1fd4
+1 -1
View File
@@ -130,7 +130,7 @@ function EkriTeks({canAutoTranslate, selectedTeks, setSelectedTeks}) {
.then(awtisResponse => { .then(awtisResponse => {
if (awtisResponse.data.user._id !== user._id) { if (awtisResponse.data.user._id !== user._id) {
setLoading(false) setLoading(false)
return setError({message: 'Opération non autorisé'}) return setError({message: 'Opération non autorisée'})
} }
axios.put(`${API_URL}/teks/${currentTeksId}`, { axios.put(`${API_URL}/teks/${currentTeksId}`, {