mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-05 17:05:46 +01:00
Ignore missing website id.
This commit is contained in:
parent
afa903a4a0
commit
4af275a7ab
@ -111,6 +111,10 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {
|
|||||||
|
|
||||||
session.iat = iat;
|
session.iat = iat;
|
||||||
|
|
||||||
|
if (!session.websiteId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (type === COLLECTION_TYPE.event) {
|
if (type === COLLECTION_TYPE.event) {
|
||||||
// eslint-disable-next-line prefer-const
|
// eslint-disable-next-line prefer-const
|
||||||
let [urlPath, urlQuery] = safeDecodeURI(url)?.split('?') || [];
|
let [urlPath, urlQuery] = safeDecodeURI(url)?.split('?') || [];
|
||||||
|
Loading…
Reference in New Issue
Block a user