Update variable name
This commit is contained in:
parent
6b93af0b75
commit
1d59f342f0
|
@ -13,7 +13,7 @@ Messages.setProvider = function (providerName, options) {
|
||||||
throw new Error('Unknown messages provider');
|
throw new Error('Unknown messages provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currentMessagesName = providerName;
|
this.currentProviderName = providerName;
|
||||||
this.currentMessages = provider;
|
this.currentMessages = provider;
|
||||||
|
|
||||||
return provider.setProvider(options);
|
return provider.setProvider(options);
|
||||||
|
|
|
@ -14,7 +14,7 @@ Names.setProvider = function (providerName, options) {
|
||||||
throw new Error('Unknown name system provider');
|
throw new Error('Unknown name system provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currentNameSystemsName = providerName;
|
this.currentProviderName = providerName;
|
||||||
this.currentNameSystems = provider;
|
this.currentNameSystems = provider;
|
||||||
|
|
||||||
return provider.setProvider(options);
|
return provider.setProvider(options);
|
||||||
|
|
|
@ -58,7 +58,7 @@ Storage.setProvider = function (providerName, options) {
|
||||||
throw new Error('Unknown storage provider');
|
throw new Error('Unknown storage provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.currentStorageName = providerName;
|
this.currentProviderName = providerName;
|
||||||
this.currentStorage = provider;
|
this.currentStorage = provider;
|
||||||
|
|
||||||
return provider.setProvider(options);
|
return provider.setProvider(options);
|
||||||
|
|
Loading…
Reference in New Issue