MOBILE-2992 user: Fix sync preferences
parent
39efa76f5f
commit
57b3ed23b2
|
@ -80,7 +80,7 @@ export class CoreUserSyncProvider extends CoreSyncBaseProvider {
|
|||
return this.userOffline.setPreference(preference.name, onlineValue, onlineValue, siteId);
|
||||
}
|
||||
|
||||
return this.userProvider.setUserPreference(name, preference.value, siteId).catch((error) => {
|
||||
return this.userProvider.setUserPreference(preference.name, preference.value, siteId).catch((error) => {
|
||||
if (this.utils.isWebServiceError(error)) {
|
||||
warnings.push(this.textUtils.getErrorMessageFromError(error));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue