Browse Source

Merge a4390d1b0d into 90c90e179e

pull/8282/merge
Thomas Kaul 17 hours ago
committed by GitHub
parent
commit
11da69e33a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 1
      apps/api/src/app/__snapshots__/app.module.spec.ts.snap
  3. 1
      apps/api/src/app/endpoints/import/import.controller.ts

4
CHANGELOG.md

@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for German (`de`) - Improved the language localization for German (`de`)
- Upgraded `prettier` from version `3.9.9` to `3.9.10` - Upgraded `prettier` from version `3.9.9` to `3.9.10`
### Fixed
- Added the missing permission check in the `GET api/v1/import/dividends/:dataSource/:symbol` endpoint
## 3.90.0 - 2026-10-21 ## 3.90.0 - 2026-10-21
### Changed ### Changed

1
apps/api/src/app/__snapshots__/app.module.spec.ts.snap

@ -546,6 +546,7 @@ exports[`AppModule should keep the security of each route 1`] = `
"TransformDataSourceInResponseInterceptor", "TransformDataSourceInResponseInterceptor",
"TransformDataSourceInRequestInterceptor", "TransformDataSourceInRequestInterceptor",
], ],
"permission": "createActivity",
}, },
"GET /info": { "GET /info": {
"guards": [], "guards": [],

1
apps/api/src/app/endpoints/import/import.controller.ts

@ -82,6 +82,7 @@ export class ImportController {
@Get('dividends/:dataSource/:symbol') @Get('dividends/:dataSource/:symbol')
@UseGuards(AuthGuard('jwt'), HasPermissionGuard) @UseGuards(AuthGuard('jwt'), HasPermissionGuard)
@HasPermission(permissions.createActivity)
@UseInterceptors(TransformDataSourceInRequestInterceptor) @UseInterceptors(TransformDataSourceInRequestInterceptor)
@UseInterceptors(TransformDataSourceInResponseInterceptor) @UseInterceptors(TransformDataSourceInResponseInterceptor)
public async gatherDividends( public async gatherDividends(

Loading…
Cancel
Save