Skip to content

Commit

Permalink
fix: Deletes subscribers using imsi- prefix (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume authored Dec 4, 2023
1 parent 57d9e73 commit ad1fe03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/deleteSubscriber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export const deleteSubscriber = async (imsi: string) => {
}
}
}

const response = await fetch(`/api/subscriber/${imsi}`, {
const response = await fetch(`/api/subscriber/imsi-${imsi}`, {
method: "DELETE",
});

Expand Down

0 comments on commit ad1fe03

Please sign in to comment.