Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into rename-monsoutienpsy
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
carolineBda committed Sep 12, 2023
2 parents aff7778 + 3e567c1 commit 2ce9e28
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.70.8](https://github.com/SocialGouv/mon-psy-sante/compare/v1.70.7...v1.70.8) (2023-09-05)


### Bug Fixes

* **instructeurs:** update instructeur id for Beatrice ([cc3b7b8](https://github.com/SocialGouv/mon-psy-sante/commit/cc3b7b8e4e857c64bd4234a6c86d419bff5c1436))

## [1.70.7](https://github.com/SocialGouv/mon-psy-sante/compare/v1.70.6...v1.70.7) (2023-07-17)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monsoutienpsy",
"version": "1.70.7",
"version": "1.70.8",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
Expand Down
2 changes: 1 addition & 1 deletion src/cron/reportingTraitementErrone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const INSTRUCTEURS = {
"SW5zdHJ1Y3RldXItNjExNTM=": "Beta-Gouv-AG",
"SW5zdHJ1Y3RldXItNDk3NDI=": "Beta-Gouv-LG",
"SW5zdHJ1Y3RldXItNzgwMjA=": "Beta-Gouv-CA",
"SW5zdHJ1Y3RldXItODM1Mzc=": "CNAM-BM",
"SW5zdHJ1Y3RldXItMjMyMDU=": "CNAM-BM",
};
const INSTRUCTEUR_FB = "SW5zdHJ1Y3RldXItNjQzNjI=";
const DOSSIER_ELIGIBLE = "Q2hhbXAtMTg0NDM5NQ==";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/psychologists/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { handleApiError } from "../../../services/api";
import { getAll } from "../../../services/psychologists";
import { API_ENDPOINT_FILTER } from "../../../types/enums/filters";

const FILTERS = Object.values(API_ENDPOINT_FILTER);
const FILTERS = Object.values(API_ENDPOINT_FILTER) as string[];

function hasParamsNotAllowed(filters) {
return Object.keys(filters).filter((q) => !FILTERS.includes(q)).length;
Expand Down
2 changes: 1 addition & 1 deletion src/services/psychologists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const countAll = async () =>
where: { archived: false, state: "accepte" },
});

const DEFAULT_PAGE_SIZE = 75;
const DEFAULT_PAGE_SIZE = 100;
export const getAll = async (filters: {
[key in FILTER]?: string | string[];
}): Promise<Psychologist[]> => {
Expand Down

0 comments on commit 2ce9e28

Please sign in to comment.