Fix profile settings update flow and improve editor UX
This commit is contained in:
4
API.js
4
API.js
@@ -304,6 +304,10 @@ const API = {
|
||||
return getCall("/user/" + CurrentProfile);
|
||||
},
|
||||
updateMyProfile(profile, data) {
|
||||
if (CurrentProfile) {
|
||||
delete userNameCache[CurrentProfile];
|
||||
delete failedProfileCache[CurrentProfile];
|
||||
}
|
||||
return postCall("/user/myProfile", {profile, data});
|
||||
},
|
||||
searchProfiles(query){
|
||||
|
||||
Reference in New Issue
Block a user