Return 202 when setting the cloudron name

This commit is contained in:
Johannes Zellner
2016-07-28 12:40:36 +02:00
parent 6d2e52b3b5
commit 4fb3a42319
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ function setCloudronName(req, res, next) {
if (error && error.reason === SettingsError.BAD_FIELD) return next(new HttpError(400, error.message));
if (error) return next(new HttpError(500, error));
next(new HttpSuccess(200));
next(new HttpSuccess(202));
});
}