mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
replace andWhere with where
This commit is contained in:
parent
b7b30bde5d
commit
10622ceec7
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
) {
|
) {
|
||||||
super(meta, paramDef, async (ps, me) => {
|
super(meta, paramDef, async (ps, me) => {
|
||||||
const query = this.usersRepository.createQueryBuilder('user')
|
const query = this.usersRepository.createQueryBuilder('user')
|
||||||
.andWhere('user.isExplorable = TRUE')
|
.where('user.isExplorable = TRUE')
|
||||||
.andWhere('user.isSuspended = FALSE');
|
.andWhere('user.isSuspended = FALSE');
|
||||||
|
|
||||||
switch (ps.state) {
|
switch (ps.state) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue