Skip to content

Commit

Permalink
fix: Deletes subscribers using imsi-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume committed Dec 2, 2023
1 parent 514cbb8 commit b9d0b93
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 b9d0b93

Please sign in to comment.