forked from DebaucheryLibrarian/traxxx
Fixed undefined user ID in postgres function. Fixed and improved mobile alignment for new and stash icons on scene tile.
This commit is contained in:
@@ -14,7 +14,7 @@ const connectionString = `postgres://${config.database.query.user}:${config.data
|
||||
|
||||
async function pgSettings(req) {
|
||||
return {
|
||||
'user.id': req.session.user?.id,
|
||||
'user.id': req.session.user?.id || null, // undefined is passed as an empty string, avoid
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user