@@ -45,7 +45,7 @@ module.exports = function(req, callback) {
} else if (!helpers.id_valid(userId)) {
callback({
status: -2,
- body: "Invalid userid"
+ body: "Invalid UserID"
});
return;
}
@@ -11,7 +11,7 @@ module.exports = function(req, callback) {
if (!helpers.id_valid(userId)) {
@@ -59,13 +59,13 @@ module.exports = function(req, callback) {
if (scale < config.min_scale || scale > config.max_scale) {
- body: "422 Invalid Scale"
+ body: "Invalid Scale"
- body: "422 Invalid ID"
@@ -43,7 +43,7 @@ module.exports = function(req, callback) {
@@ -664,7 +664,7 @@ describe("Crafatar", function() {
- // testing all paths for invalid userid
+ // testing all paths for Invalid UserID
var locations = ["avatars", "skins", "capes", "renders/body", "renders/head"];
for (var l in locations) {
var location = locations[l];