readme update, removed unnecesarry parts from setup, validation token null check

This commit is contained in:
mrfry 2023-04-04 18:10:01 +02:00
parent cbc536483c
commit d09b74ac4a
4 changed files with 86 additions and 30 deletions

View file

@ -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',