Skip to content

Commit 47a9510

Browse files
Debug opplysningId, barnId, behandlingsId
1 parent 39ed94d commit 47a9510

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/components/regelsett/Regelsett.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export function Regelsett({ behandling, aktivtRegelsett, readonly }: IProps) {
4848
(opplysning) => opplysning.datatype === "barn",
4949
)?.id;
5050

51+
console.log(`🔥 barnOpplysningId :`, barnOpplysningId);
52+
5153
return (
5254
<div>
5355
<Heading className={styles.hjemmelTittel} size="medium">

app/server-side-actions/oppdater-orkestrator-barn-action.ts

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export async function oppdaterOrkestratorBarnAction(request: Request, formData:
2020
const barnetilleggTom = formData.get("barnetilleggTom") as string;
2121
const begrunnelse = formData.get("begrunnelse") as string;
2222

23+
console.log(`🔥 opplysningId :`, opplysningId);
24+
console.log(`🔥 behandlingId :`, behandlingId);
25+
console.log(`🔥 barnId :`, barnId);
26+
2327
const oppdatertBarn: components["schemas"]["OppdatertBarnRequest"] = {
2428
opplysningId,
2529
behandlingId,

0 commit comments

Comments
 (0)