Compare commits
2 Commits
1ad73ec272
...
d331e04155
| Author | SHA1 | Date | |
|---|---|---|---|
| d331e04155 | |||
| 47e803999f |
@@ -4,6 +4,7 @@
|
||||
"sourceRoot": "src",
|
||||
"compilerOptions": {
|
||||
"deleteOutDir": true,
|
||||
"watchAssets": true,
|
||||
"assets": [
|
||||
{
|
||||
"include": "../assets/**",
|
||||
@@ -12,9 +13,13 @@
|
||||
},
|
||||
{
|
||||
"include": "../prisma/**",
|
||||
"outDir": "dist/prisma",
|
||||
"watchAssets": false
|
||||
"outDir": "dist/prisma"
|
||||
},
|
||||
{
|
||||
"include": "./generated/**",
|
||||
"outDir": "./dist"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@ export class AppController {
|
||||
constructor(
|
||||
private prisma: PrismaService,
|
||||
private socketService: AppGetaway,
|
||||
) {}
|
||||
) { }
|
||||
|
||||
@Get('candidates')
|
||||
async getCandidateList() {
|
||||
@@ -83,6 +83,7 @@ export class AppController {
|
||||
createdAt: new Date(),
|
||||
},
|
||||
});
|
||||
savedCandidate.profileImage = `${process.env.HOST_URL as string}/uploads/${savedCandidate.profileImage}`;
|
||||
this.socketService.onAddCandidate(savedCandidate);
|
||||
|
||||
return savedCandidate;
|
||||
|
||||
Reference in New Issue
Block a user