Skip to content

Commit

Permalink
Rett opp camelcasefeil
Browse files Browse the repository at this point in the history
  • Loading branch information
joarau committed Dec 11, 2023
1 parent 4099f1e commit 464f95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kandidat/kandidatside/cv/reducer/cvReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ const cvReducer = (state: CvState = initialState, action: CvAction): CvState =>
function* fetchCvForKandidat(action: FetchCvAction) {
try {
const idResponse: EsResponse<Id> = yield call(fetchId, action.arenaKandidatnr);
const iDhits = idResponse.hits.hits;
if (iDhits.length === 0) {
const idHits = idResponse.hits.hits;
if (idHits.length === 0) {
yield put({ type: CvActionType.FetchCvNotFound });
}
const fodselsnummer = idResponse.hits.hits[0]._source.fodselsnummer;
Expand Down

0 comments on commit 464f95e

Please sign in to comment.