mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
Search by userNotes, notes in playerList and friendsList
This commit is contained in:
@@ -155,6 +155,24 @@ const userReq = {
|
||||
window.API.$emit('USER:CURRENT:SAVE', args);
|
||||
return args;
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* @param params {{ offset: number, n: number }}
|
||||
* @returns {Promise<{json: any, params}>}
|
||||
*/
|
||||
getUserNotes(params) {
|
||||
return window.API.call(`userNotes`, {
|
||||
method: 'GET',
|
||||
params
|
||||
}).then((json) => {
|
||||
const args = {
|
||||
json,
|
||||
params
|
||||
};
|
||||
// window.API.$emit('USER:NOTES', args);
|
||||
return args;
|
||||
});
|
||||
}
|
||||
};
|
||||
// #endregion
|
||||
|
||||
Reference in New Issue
Block a user