mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
naming things is hard
This commit is contained in:
parent
6a84c5a1d0
commit
aaedc2f3aa
@ -239,11 +239,11 @@ exp.get_avatar = function(rid, userId, helm, size, callback) {
|
||||
if (helm && exists) {
|
||||
filepath = helmpath;
|
||||
}
|
||||
skins.resize_img(filepath, size, function(img_err, result) {
|
||||
skins.resize_img(filepath, size, function(img_err, image) {
|
||||
if (img_err) {
|
||||
callback(img_err, -1, null, skin_hash);
|
||||
} else {
|
||||
callback(err, (err ? -1 : status), result, skin_hash);
|
||||
callback(err, (err ? -1 : status), image, skin_hash);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user