mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Fix render defaults
This commit is contained in:
parent
d2ab7b87ad
commit
2eb1112c3b
@ -11,7 +11,7 @@ var fs = require("fs");
|
|||||||
// helmet is query param
|
// helmet is query param
|
||||||
// TODO: The Type logic should be two separate GET functions once response methods are extracted
|
// TODO: The Type logic should be two separate GET functions once response methods are extracted
|
||||||
|
|
||||||
function handle_default(img_status, userId, size, def, req, err, callback) {
|
function handle_default(rid, scale, helm, body, img_status, userId, size, def, req, err, callback) {
|
||||||
def = def || skins.default_skin(userId);
|
def = def || skins.default_skin(userId);
|
||||||
if (def !== "steve" && def !== "alex") {
|
if (def !== "steve" && def !== "alex") {
|
||||||
if (helpers.id_valid(def)) {
|
if (helpers.id_valid(def)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user