mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
p2p not sending user 1 and admins
This commit is contained in:
parent
f94e038e59
commit
ac01455510
1 changed files with 4 additions and 1 deletions
|
@ -515,7 +515,10 @@ function setup(data: SubmoduleData): Submodule {
|
|||
userDB,
|
||||
`SELECT *
|
||||
FROM users
|
||||
WHERE created >= ${since};`
|
||||
WHERE created >= ${since}
|
||||
AND id != 1
|
||||
AND isAdmin is null
|
||||
;`
|
||||
)
|
||||
return users
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue