mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Fix emoji and sticker saving
This commit is contained in:
@@ -1,4 +1,23 @@
|
||||
const inventoryReq = {
|
||||
/**
|
||||
* @param {{ inventoryId: string, userId: string }} params
|
||||
* @returns {Promise<{json: any, params}>}
|
||||
*/
|
||||
getUserInventoryItem(params) {
|
||||
return window.API.call(
|
||||
`user/${params.userId}/inventory/${params.inventoryId}`,
|
||||
{
|
||||
method: 'GET'
|
||||
}
|
||||
).then((json) => {
|
||||
const args = {
|
||||
json,
|
||||
params
|
||||
};
|
||||
return args;
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* @param {{ inventoryId: string }} params
|
||||
* @returns {Promise<{json: any, params}>}
|
||||
|
||||
Reference in New Issue
Block a user