Skip to content

Commit

Permalink
Add onboarding API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisMaja committed Jun 14, 2024
1 parent c13e4eb commit 5df5cb7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ui/src/lib/services/users/userApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ export const userApi = createApi({
}),
invalidatesTags: ["User"],
}),
boardUser: build.mutation({
query: (user) => ({
url: "users/onboarding",
method: "POST",
headers: { "Content-Type": "application/json" },
body: user,
}),
invalidatesTags: ["User"],
}),
}),
});

Expand Down

0 comments on commit 5df5cb7

Please sign in to comment.