Skip to content

Commit

Permalink
changed param name
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemek committed Nov 15, 2024
1 parent 1b44d2a commit 7eb491d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/consultations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export async function approveConsultation(
) {
return request<API.TutorConsultationList>(
`${apiUrl}/api/consultations/approve-term/${id}?term=${term}${
userId ? `&userId=${userId}` : ""
userId ? `&user_id=${userId}` : ""
}`,
{
method: "GET",
Expand All @@ -132,7 +132,7 @@ export async function rejectConsultation(
) {
return request<API.TutorConsultationList>(
`${apiUrl}/api/consultations/reject-term/${id}?term=${term}${
userId ? `&userId=${userId}` : ""
userId ? `&user_id=${userId}` : ""
}`,
{
method: "GET",
Expand Down Expand Up @@ -182,7 +182,7 @@ export async function changeTermDate(
) {
return request<API.DefaultResponse<API.Consultation>>(
`${apiUrl}/api/consultations/change-term/${termId}?term=${term}${
userId ? `&userId=${userId}` : ""
userId ? `&user_id=${userId}` : ""
}`,
{
method: "POST",
Expand Down

0 comments on commit 7eb491d

Please sign in to comment.