Skip to content

Commit

Permalink
fix: get instead of post
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Nov 14, 2024
1 parent 75f59cf commit 9d73973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BusinessSetup/SetupSignup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const SetupSignup = ({ admin, nextStep }: SetUpFirstFormProps) => {

if (!admin && id) {
try {
const business = await backend.post(`/business/${id}`);
const business = await backend.get(`/business/${id}`);

if (!business) {
toast({
Expand Down

0 comments on commit 9d73973

Please sign in to comment.