remove unnecessary cast
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
@@ -606,10 +606,7 @@ export async function createRouter(
|
||||
.post('/locations', async (req, res) => {
|
||||
const location = await validateRequestBody(req, locationInput);
|
||||
const dryRun = yn(req.query.dryRun, { default: false });
|
||||
const onConflict = req.query.onConflict as
|
||||
| 'refresh'
|
||||
| 'reject'
|
||||
| undefined;
|
||||
const onConflict = req.query.onConflict;
|
||||
|
||||
const auditorEvent = await auditor.createEvent({
|
||||
eventId: 'location-mutate',
|
||||
|
||||
Reference in New Issue
Block a user