refactoring: changing param list of a fn
This commit is contained in:
@@ -138,5 +138,5 @@ export const deleteLocationById = withUser(async (user:AuthenticatedUser, locati
|
||||
// find a location with the given locationID
|
||||
const post = await dbClient.collection<BillingLocation>("lokacije").deleteOne({ _id: locationID, userId });
|
||||
|
||||
await gotoHome(`/?year=${yearMonth?.year}`)
|
||||
await gotoHome(yearMonth)
|
||||
})
|
||||
Reference in New Issue
Block a user