Skip to content

Commit

Permalink
fix(taak): fix taak aanmaken (#322)
Browse files Browse the repository at this point in the history
This will fix taak aanmaken

Sorry for breaking it
  • Loading branch information
Jorann authored Dec 13, 2023
1 parent 0303d19 commit 26647fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/app/src/app/plan-items/plan-items.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export class PlanItemsService {

doHumanTaskPlanItem(humanTaskData: HumanTaskData): Observable<void> {

if (!humanTaskData.medewerker.id) {
if (!humanTaskData.medewerker?.id) {
humanTaskData.medewerker = null;
}

return this.http
.post<void>(`${this.basepath}/doHumanTaskPlanItem`, humanTaskData)
.pipe(
Expand Down

0 comments on commit 26647fe

Please sign in to comment.