ways to remove and delete
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 33s
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 33s
This commit is contained in:
@@ -136,6 +136,18 @@ class API {
|
||||
return this.request('/friends/requests');
|
||||
}
|
||||
|
||||
async removeFriend(friendId) {
|
||||
return this.request(`/friends/${friendId}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
}
|
||||
|
||||
async deleteChallenge(challengeId) {
|
||||
return this.request(`/challenges/${challengeId}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
}
|
||||
|
||||
// TMDB
|
||||
async searchShows(query) {
|
||||
return this.request(`/tmdb/search?q=${encodeURIComponent(query)}`);
|
||||
|
||||
Reference in New Issue
Block a user