We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da5f85 commit bc93ca1Copy full SHA for bc93ca1
packages/velog-server/src/services/DynamicConfigService/index.ts
@@ -11,8 +11,7 @@ export class DynamicConfigService implements Service {
11
constructor(private readonly db: DbService) {}
12
public async isBlockedUser(username: string = ''): Promise<boolean> {
13
const list = await this.readBlockUserList()
14
- const isBlocked = list.includes(username)
15
- return isBlocked
+ return list.includes(username)
16
}
17
private async readBlockUserList(): Promise<string[]> {
18
const list = await this.db.dynamicConfigItem.findMany({
0 commit comments