Skip to content

Commit

Permalink
more automation for new children
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Nov 9, 2023
1 parent 24bd4ee commit 8974da6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"sourceRoot": "src",
"compilerOptions": {
"assets": [
"features/campaign/templates/**/*"
],
"watchAssets": true
"features/campaign/templates/**/*",
"features/children/**/*"
],
"watchAssets": true
}
}
5 changes: 3 additions & 2 deletions src/features/children/children.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,10 @@ export class ChildrenController {
) {
throw new ForbiddenException(403, 'You Are not the Super admin');
}
return await this.downloadService.excelStream('src/resources/names.xlsx');
return await this.downloadService.excelStream(
'src/features/children/resources/names.xlsx',
);
}

@UseInterceptors(ChildrenInterceptor)
@Post(`flask/all`)
@ApiOperation({ description: 'Get all flask children from db' })
Expand Down
File renamed without changes.

0 comments on commit 8974da6

Please sign in to comment.