Return 202 when setting the cloudron name
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user