test leaving challange invited to

This commit is contained in:
2026-01-30 19:45:22 -05:00
parent 94c9e28393
commit 75d6eb8bbc
3 changed files with 69 additions and 1 deletions

View File

@@ -148,6 +148,12 @@ class API {
});
}
async leaveChallenge(challengeId) {
return this.request(`/challenges/${challengeId}/leave`, {
method: 'POST'
});
}
// TMDB
async searchShows(query) {
return this.request(`/tmdb/search?q=${encodeURIComponent(query)}`);