add access token
This commit is contained in:
@@ -59,6 +59,7 @@ class ImportImage extends Component {
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': Store.getState().isLogin.access_token,
|
||||
// 'Authorization': token
|
||||
},
|
||||
data: {
|
||||
@@ -129,6 +130,7 @@ class ImportImage extends Component {
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': Store.getState().isLogin.access_token,
|
||||
// 'Authorization': token
|
||||
},
|
||||
body: JSON.stringify({ 'image_obj_id_list': [img._id] })
|
||||
|
||||
Reference in New Issue
Block a user