Skip to content

Commit

Permalink
fix: get attendee API calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ruilopesm committed Jan 30, 2024
1 parent 6164e68 commit 69d44c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export async function sendResetEmail({ email }) {
}

export async function getAttendeeByID(id) {
const response = await API.get(`/api/attendees/${id}`, {
const response = await API.get(`/api/attendees`, {
params: {
id,
},
Expand All @@ -148,7 +148,7 @@ export async function getAttendeeByID(id) {
}

export async function getAttendeeByUsername(username) {
const response = await API.get(`/api/attendees/${username}`, {
const response = await API.get(`/api/attendees`, {
params: {
username,
},
Expand Down

0 comments on commit 69d44c3

Please sign in to comment.