File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff 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 //);
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments