admin the second lol
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 18s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 18s
This commit is contained in:
@ -14,7 +14,7 @@ export default (router, tpl) => {
|
||||
const user = decodeURIComponent(req.params.user);
|
||||
|
||||
const query = await db`
|
||||
select "user".user, "user".created_at, user_options.*
|
||||
select "user".user, "user".admin, "user".created_at, user_options.*
|
||||
from user_options
|
||||
left join "user" on "user".id = user_options.user_id
|
||||
where "user".user ilike ${user}
|
||||
@ -35,13 +35,15 @@ export default (router, tpl) => {
|
||||
user: user,
|
||||
mode: req.session.mode,
|
||||
fav: false,
|
||||
session: !!req.session
|
||||
session: !!req.session,
|
||||
limit: 99999999
|
||||
});
|
||||
const favs = await f0cklib.getf0cks({
|
||||
user: user,
|
||||
mode: req.session.mode,
|
||||
fav: true,
|
||||
session: !!req.session
|
||||
session: !!req.session,
|
||||
limit: 99999999
|
||||
});
|
||||
|
||||
const count = {
|
||||
|
Reference in New Issue
Block a user