[API] Fix bug, rename param set -> data (BREAKING)
This commit is contained in:
parent
135f0818d6
commit
e8e220b410
2 changed files with 15 additions and 15 deletions
|
|
@ -157,7 +157,7 @@ function fetchme(token, cb) {
|
|||
function init() {
|
||||
const data = generateDefaultUserdata();
|
||||
api(token, 'i/appdata/set', {
|
||||
set: data
|
||||
data
|
||||
}).then(() => {
|
||||
me.data = data;
|
||||
done();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue