Changeset a26f6a1 for frontend/src/Dashboard/Restaurant.js
- Timestamp:
- 08/09/22 16:09:32 (23 months ago)
- Branches:
- master
- Children:
- a569b7c
- Parents:
- 899b19d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Dashboard/Restaurant.js
r899b19d ra26f6a1 37 37 const submitEdit = (form) => { 38 38 setLoadingSave(true); 39 axios.put(env.api + 'Restaurants/',{...form}, { headers: {Authorization: sessionStorage.getItem('Auth')}39 axios.put(env.api + 'Restaurants/',{...form}, { headers: {Authorization: localStorage.getItem('Auth')} 40 40 }).then(res => { 41 41 notification['success']({
Note:
See TracChangeset
for help on using the changeset viewer.