We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3621f57 commit 2adbe32Copy full SHA for 2adbe32
1 file changed
client/src/services/matchesService.ts
@@ -64,7 +64,7 @@ export const useMatchesService = () => {
64
65
const acceptMatch = async (matchId: string): Promise<void> => {
66
try {
67
- await api.post(`${API_VERSION}/matching/match/${matchId}/accept`);
+ await api.post(`${API_VERSION}/matching/rsvp/${matchId}/accept`);
68
} catch (error) {
69
console.error('Error accepting match:', error);
70
throw error;
@@ -73,7 +73,7 @@ export const useMatchesService = () => {
73
74
const rejectMatch = async (matchId: string): Promise<void> => {
75
76
- await api.post(`${API_VERSION}/matching/match/${matchId}/reject`);
+ await api.post(`${API_VERSION}/matching/rsvp/${matchId}/reject`);
77
78
console.error('Error rejecting match:', error);
79
0 commit comments