mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
readme update, removed unnecesarry parts from setup, validation token null check
This commit is contained in:
@@ -325,7 +325,7 @@ function setup(data: SubmoduleData): Submodule {
|
||||
id: +userid,
|
||||
})
|
||||
|
||||
if (specifiedUser.length === 0) {
|
||||
if (specifiedUser.length === 0 || !specifiedUser[0]) {
|
||||
res.json({
|
||||
result: 'nouserid',
|
||||
msg: 'couldnt find user',
|
||||
|
Reference in New Issue
Block a user