mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2026-11-20 21:19:05 +00:00
Add live field to /api/users/all
This commit is contained in:
1 parent
108d7ad0b7
commit
15824d25c0
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -194,7 +194,7 @@ async function initAPI() {
|
||||
});
|
||||
});
|
||||
app.post('/api/users/all', (req, res) => {
|
||||
let qs = 'SELECT username,title FROM user_meta';
|
||||
let qs = 'SELECT username,title,live FROM user_meta';
|
||||
|
||||
if(req.body.sort) {
|
||||
switch (req.body.sort) {
|
||||
|
||||
Reference in new issue
Block a user