fix(extensions): use an empty object instead of a null value when registering extension (#1750)

pull/1755/head
Anthony Lapenna 2018-03-22 14:37:36 +10:00 committed by GitHub
parent 27dcd708a6
commit a72ffe4188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ function ExtensionManagerFactory($q, PluginService, SystemService, ExtensionServ
var endpointAPIVersion = parseFloat(data.ApiVersion); var endpointAPIVersion = parseFloat(data.ApiVersion);
return $q.all([ return $q.all([
endpointAPIVersion >= 1.25 ? initStoridgeExtension(): null endpointAPIVersion >= 1.25 ? initStoridgeExtension(): {}
]); ]);
}) })
.then(function success(data) { .then(function success(data) {