Fixed a minor bug

This commit is contained in:
2019-05-17 16:41:18 +10:00
parent b2b0f628bd
commit 003bd0ff54
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ function profileRequestInner(connection, req, res, fields) {
if (results.length === 1) {
return profileCreateInner(connection, req, res, fields);
} else {
res.status(404).write('Profile not found');
res.status(400).write('Profile not found');
res.end();
}
});