mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 02:06:19 +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,
|
||||
language,
|
||||
country,
|
||||
subdivision1: country.concat('-', subdivision1),
|
||||
subdivision1: subdivision1 ? country.concat('-', subdivision1) : null,
|
||||
subdivision2,
|
||||
city,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user