Report updates.

This commit is contained in:
Mike Cao 2023-05-20 09:02:08 -07:00
parent 40f53e8856
commit 0fb93ff00b
147 changed files with 1095 additions and 628 deletions

View file

@ -35,7 +35,7 @@ export default async (
const { id: websiteId } = req.query;
if (req.method === 'POST') {
if (req.method === 'GET') {
if (!(await canViewWebsite(req.auth, websiteId))) {
return unauthorized(res);
}