Skip to content

Commit

Permalink
Update cache on new user creation (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewy-gh authored Sep 29, 2024
1 parent 7061988 commit ad3580e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/front/src/api/apiSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export const apiSlice = createApi({
user: { email, role, surveyor },
},
}),
invalidatesTags: ["Surveyor"],
}),
requestPasswordReset: builder.mutation({
query: (email) => ({
Expand Down

0 comments on commit ad3580e

Please sign in to comment.