Update variable name

This commit is contained in:
Anthony Laibe 2018-08-24 14:13:05 +01:00
parent 6b93af0b75
commit 1d59f342f0
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ Messages.setProvider = function (providerName, options) {
throw new Error('Unknown messages provider');
}
this.currentMessagesName = providerName;
this.currentProviderName = providerName;
this.currentMessages = provider;
return provider.setProvider(options);

View File

@ -14,7 +14,7 @@ Names.setProvider = function (providerName, options) {
throw new Error('Unknown name system provider');
}
this.currentNameSystemsName = providerName;
this.currentProviderName = providerName;
this.currentNameSystems = provider;
return provider.setProvider(options);

View File

@ -58,7 +58,7 @@ Storage.setProvider = function (providerName, options) {
throw new Error('Unknown storage provider');
}
this.currentStorageName = providerName;
this.currentProviderName = providerName;
this.currentStorage = provider;
return provider.setProvider(options);