Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Brian Cao 2023-05-25 16:46:39 -07:00
commit 4c06487b11
26 changed files with 347 additions and 391 deletions

View file

@ -29,6 +29,7 @@ export default async (
if (req.method === 'POST') {
const { websiteId, urls, window, startAt, endAt } = req.body;
if (!(await canViewWebsite(req.auth, websiteId))) {
return unauthorized(res);
}