971 rest api bug sentry on filter parameters (#12088)

- fix missing createBy injection in api createOne and createMany
endpoints
- add a command to fix null default value for createdBySource in
production entities
- tested on `1747159401197/` dump extract of production db without issue
This commit is contained in:
martmull
2025-05-19 12:46:03 +02:00
committed by GitHub
parent 58b40b1f89
commit b52ef76376
20 changed files with 418 additions and 162 deletions

View File

@ -12,7 +12,7 @@ interface RestAPIRequestParams {
export const makeRestAPIRequest = ({
method,
path,
bearer = ADMIN_ACCESS_TOKEN,
bearer = API_KEY_ACCESS_TOKEN,
body = {},
}: RestAPIRequestParams) => {
const client = request(`http://localhost:${APP_PORT}`);