diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 9d6687f9e..348787726 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -142,8 +142,7 @@ function fetchme(token, silent, cb) { } function init() { - var data, this$ = this; - data = generateDefaultUserdata(); + const data = generateDefaultUserdata(); api(token, 'i/appdata/set', { data: JSON.stringify(data) }).then(() => {