mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
4c06487b11
26 changed files with 347 additions and 391 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue