...
|
...
|
@@ -550,15 +550,12 @@ export function uploadBg(assetURL) { |
|
|
}
|
|
|
new PostingService().uploadImageAsset(asset)
|
|
|
.then(response => {
|
|
|
console.log('aaaaaaaaaaaaaaaaaaaaa');
|
|
|
console.log(response);
|
|
|
let params = {
|
|
|
bgPic: response,
|
|
|
uid: user.profile.uid,
|
|
|
}
|
|
|
return new UserService().updateUserInfo(params)
|
|
|
.then(json => {
|
|
|
console.log(json);
|
|
|
dispatch(bgUploadSuccess(json));
|
|
|
dispatch(syncUserWithSSOUid(user.profile.uid));
|
|
|
}).catch(error => {
|
...
|
...
|
|