Skip to content

Commit

Permalink
fix(frontend): invalidate events when updating a housing
Browse files Browse the repository at this point in the history
  • Loading branch information
Falinor committed Jan 22, 2025
1 parent 1da64f8 commit 7886518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/services/housing.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ export const housingApi = zlvApi.injectEndpoints({
invalidatesTags: (result, error, payload) => [
{ type: 'Housing', id: payload.id },
'HousingByStatus',
'HousingCountByStatus'
'HousingCountByStatus',
'Event'
]
}),
updateHousingList: builder.mutation<
Expand Down

0 comments on commit 7886518

Please sign in to comment.