mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Ignore missing website id.
This commit is contained in:
parent
afa903a4a0
commit
4af275a7ab
1 changed files with 4 additions and 0 deletions
|
|
@ -111,6 +111,10 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {
|
|||
|
||||
session.iat = iat;
|
||||
|
||||
if (!session.websiteId) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (type === COLLECTION_TYPE.event) {
|
||||
// eslint-disable-next-line prefer-const
|
||||
let [urlPath, urlQuery] = safeDecodeURI(url)?.split('?') || [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue