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:
parent
cbc536483c
commit
d09b74ac4a
4 changed files with 86 additions and 30 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue