Skip to content

Commit 0dfcdfa

Browse files
fix: prettier issues
1 parent 5d08d4b commit 0dfcdfa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/lib/reports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,9 @@ const createReportMessage = async ({
559559
ReportMessages: true,
560560
},
561561
});
562-
// validate content
562+
// validate content
563563
if (content.length < 1) {
564-
throw new BadRequest("Content must not be empty")
564+
throw new BadRequest("Content must not be empty");
565565
}
566566
if (report === null) {
567567
throw new NotFound("report not found");

src/plugins/redis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class RedisCache {
1515

1616
private async _sendCommand(command: string, args: ArgType): Promise<unknown> {
1717
//this.logger.debug(`Sending redis command: ${command} with args: ${args}`);
18-
const data = (await this._client.call(command, ...args));
18+
const data = await this._client.call(command, ...args);
1919
//this.logger.debug(
2020
// `Received data: ${data} from redis command: ${command} with args ${args}`
2121
//);

src/v1/routes/internal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ const internalPlugin = async (instance: FastifyInstance) => {
6060
return {
6161
avatar: instance.envVars.AVATAR_URL,
6262
username: instance.envVars.DEFAULT_STAFF_PROFILE_NAME,
63-
discriminator: null
63+
discriminator: null,
6464
};
6565
} else {
6666
return {
6767
username: profile.name,
6868
avatar: profile.avatar ?? instance.envVars.AVATAR_URL,
69-
discriminator: null
69+
discriminator: null,
7070
};
7171
}
7272
}

0 commit comments

Comments
 (0)