Merge remote-tracking branch 'origin/dev'
Deploy / deploy-dev (push) Skipped
Deploy / deploy-prod (push) Successful in 3m14s

This commit is contained in:
blaisadmin committed 2026-10-07 20:19:30 -04:00
commit cf8dceb014
3 files changed
+38 -22

No files matched your search

+2
View File
@@ -3566,6 +3566,7 @@ app.post('/api/birds', requireAuth, requireWriteAccess, requireWorkspaceRole(['o
toWorkspaceId: req.auth!.workspace.id,
locationLabel: bird!.location_label,
locationDetails: bird!.location_details,
eventDate: emptyToNull(parsed.data.locationDate),
createdByUserId: req.auth!.user.id,
});
res.status(201).json({ bird: normalizeBird(bird!) });
@@ -3945,6 +3946,7 @@ app.put('/api/birds/:birdId', requireAuth, requireWriteAccess, requireWorkspaceR
toWorkspaceId: req.auth!.workspace.id,
locationLabel: bird.location_label,
locationDetails: bird.location_details,
eventDate: emptyToNull(parsed.data.locationDate),
createdByUserId: req.auth!.user.id,
});
}