umami/lib
Ruslan 776704f050
Fix session error
Fix "Cannot destructure property 'session_id' of 'session' as it is null" error
Sometimes with a large number of requests, an error occurs when searching for a session.
1. Session not found. "session === null"
2. Next, we try to create it, but we get into "catch", i.e. our "session" variable is "null". If we get the error "Unique constraint failed on the fields: (`session_uuid`)", then the session was created in another request and we need to get it.
2022-08-23 12:13:20 +02:00
..
array.js Refactored dashboard sort logic. 2022-08-04 21:37:18 -07:00
auth.js fix imports 2022-07-12 15:14:27 -07:00
constants.js Added CURRENT_VERSION constant. 2022-08-08 11:31:36 -07:00
crypto.js Changed hash method again. 2022-04-25 19:11:54 -07:00
date.js Fix refresh button issue, closes #840 2021-12-19 22:49:08 -08:00
db.js Refactored query parameters. 2022-08-08 01:26:20 -07:00
filters.js Refactored query parameters. 2022-08-08 01:26:20 -07:00
format.js Refactored dashboard sort logic. 2022-08-04 21:37:18 -07:00
lang.js Added Bengali and Thai languages. 2022-08-01 17:14:36 -07:00
middleware.js Fix issue with sendBeacon request. 2022-03-10 19:01:33 -08:00
request.js Moved geo database location. 2022-08-03 19:20:13 -07:00
response.js Added prestart script. 2022-03-18 21:57:58 -07:00
session.js Fix session error 2022-08-23 12:13:20 +02:00
url.js Refactored referrer logic. Display stats for no referrers. 2022-07-21 01:11:10 -07:00
web.js Refactored dashboard sort logic. 2022-08-04 21:37:18 -07:00