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:
@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user