mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 07:43:50 +02:00
eslint fix
This commit is contained in:
@@ -17,7 +17,6 @@ const userReq = {
|
||||
* @type {import('../types/api/user').GetUser}
|
||||
*/
|
||||
getUser(params) {
|
||||
|
||||
return request(`users/${params.userId}`, {
|
||||
method: 'GET'
|
||||
}).then((json) => {
|
||||
@@ -57,7 +56,6 @@ const userReq = {
|
||||
* @returns {Promise<{json: any, params: {tags: string[]}}>}
|
||||
*/
|
||||
addUserTags(params) {
|
||||
|
||||
return request(`users/${getCurrentUserId()}/addTags`, {
|
||||
method: 'POST',
|
||||
params
|
||||
@@ -76,7 +74,6 @@ const userReq = {
|
||||
* @returns {Promise<{json: any, params: {tags: string[]}}>}
|
||||
*/
|
||||
removeUserTags(params) {
|
||||
|
||||
return request(`users/${getCurrentUserId()}/removeTags`, {
|
||||
method: 'POST',
|
||||
params
|
||||
@@ -114,7 +111,6 @@ const userReq = {
|
||||
* @type {import('../types/api/user').GetCurrentUser}
|
||||
*/
|
||||
saveCurrentUser(params) {
|
||||
|
||||
return request(`users/${getCurrentUserId()}`, {
|
||||
method: 'PUT',
|
||||
params
|
||||
|
||||
Reference in New Issue
Block a user