1 parent 78105d8 commit bdca021Copy full SHA for bdca021
2 files changed
.vscode/settings.json
@@ -1,3 +1,11 @@
1
{
2
- "prisma.pinToPrisma6": true
+ "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
10
+ }
11
}
api/src/job/job.service.ts
@@ -45,9 +45,11 @@ export class JobService {
45
46
async getById(id: string): Promise<Job> {
47
const job = await this.findById(id);
48
+
49
if (!job) {
50
throw new NotFoundException(`Job ${id} not found`);
51
52
53
return job;
54
55
0 commit comments