Commit 44259417 authored by nanahira's avatar nanahira

Update src/whitelist-account/whitelist-account.service.ts

parent be527770
Pipeline #36488 passed with stages
in 1 minute and 11 seconds
......@@ -6,11 +6,7 @@ import {
import { InjectRepository } from '@nestjs/typeorm';
@Injectable()
export class WhitelistAccountService extends WhitelistAccountFactory.crudService(
{
extraGetQuery: (qb) => qb.andWhere('whitelistAccount.enabled = TRUE'),
},
) {
export class WhitelistAccountService extends WhitelistAccountFactory.crudService() {
constructor(@InjectRepository(WhitelistAccount) repo) {
super(repo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment