mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
at null check for subdivision save
This commit is contained in:
parent
7e096336ce
commit
06649c2e31
@ -44,7 +44,7 @@ async function relationalQuery(data: Prisma.SessionCreateInput) {
|
|||||||
screen,
|
screen,
|
||||||
language,
|
language,
|
||||||
country,
|
country,
|
||||||
subdivision1: country.concat('-', subdivision1),
|
subdivision1: subdivision1 ? country.concat('-', subdivision1) : null,
|
||||||
subdivision2,
|
subdivision2,
|
||||||
city,
|
city,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user