Skip to content

Commit b0de77d

Browse files
committed
Missed a change
1 parent f4cc8cf commit b0de77d

File tree

1 file changed

+3
-7
lines changed
  • src/UmbracoFileSystemProviders.Azure.Installer/Configurator/Controllers

1 file changed

+3
-7
lines changed

src/UmbracoFileSystemProviders.Azure.Installer/Configurator/Controllers/Configure.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@
1313
e.preventDefault();
1414

1515
$http.post(postDataUrl, $scope.parameters)
16-
.success(function (data) {
16+
.then(function (response) {
1717

18-
var status;
19-
if (typeof data === "string") {
20-
status = JSON.parse(data);
21-
} else {
22-
status = data;
23-
}
18+
var status;
19+
status = response.data;
2420

2521
$scope.status = status;
2622

0 commit comments

Comments
 (0)