Skip to content

Commit bdca021

Browse files
committed
chore: added vscode settings
1 parent 78105d8 commit bdca021

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"prisma.pinToPrisma6": true
2+
"prisma.pinToPrisma6": true,
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "esbenp.prettier-vscode",
5+
"[typescript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[json]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
}
311
}

api/src/job/job.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ export class JobService {
4545

4646
async getById(id: string): Promise<Job> {
4747
const job = await this.findById(id);
48+
4849
if (!job) {
4950
throw new NotFoundException(`Job ${id} not found`);
5051
}
52+
5153
return job;
5254
}
5355

0 commit comments

Comments
 (0)