Skip to content

Commit

Permalink
chore: build: resolve formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Oct 14, 2024
1 parent 97594b9 commit e4090d5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"singleQuote": true,
"printWidth": 80
"printWidth": 80,
"trailingComma": "es5"
}
5 changes: 2 additions & 3 deletions src/lib/storage/jobs/helpers/performConversion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ export default async function performConversion(
res.status(200).send();
}

const { ws, exporter, settings, bl, rules } = await job.createWorkSpace(
api
);
const { ws, exporter, settings, bl, rules } =
await job.createWorkSpace(api);
const decks = await job.createFlashcards(bl, id, rules, settings, type);
if (!decks) {
await job.failed();
Expand Down
5 changes: 2 additions & 3 deletions src/services/AuthenticationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ class AuthenticationService {
return null;
}

const accessToken = await this.tokenRepository.getAccessTokenFromString(
token
);
const accessToken =
await this.tokenRepository.getAccessTokenFromString(token);
if (!accessToken) {
return null;
}
Expand Down
5 changes: 4 additions & 1 deletion src/services/EmailService/EmailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export interface IEmailService {
}

class EmailService implements IEmailService {
constructor(apiKey: string, readonly defaultSender: string) {
constructor(
apiKey: string,
readonly defaultSender: string
) {
sgMail.setApiKey(apiKey);
}

Expand Down
2 changes: 1 addition & 1 deletion src/services/NotionService/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type PropertiesPageTitle = {
id: string;
type: string;
title: TextRichTextItemResponse;
}
},
];
};

Expand Down

0 comments on commit e4090d5

Please sign in to comment.