Simplify UserBackground code

This commit is contained in:
djmaze 2021-07-20 16:49:03 +02:00
parent e13337e247
commit 18cedbabad
4 changed files with 14 additions and 32 deletions

View file

@ -70,14 +70,6 @@ export function change(email) {
return serverRequest('Change') + encodeURIComponent(email) + '/';
}
/**
* @param {string} hash
* @returns {string}
*/
export function userBackground(hash) {
return serverRequestRaw('UserBackground', hash);
}
/**
* @param {string} lang
* @param {boolean} isAdmin