Skip to content

Commit d6cb24f

Browse files
SilviaAmAmsvenvandescheur
authored andcommitted
♻️ [#348] Update frontend after backend refactor
1 parent 3ae0083 commit d6cb24f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

frontend/src/lib/api/private.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ export async function listZaaktypeChoices(
5555
let params;
5656

5757
if (reviewPk) {
58-
params = { review: reviewPk };
58+
params = { inReview: reviewPk };
5959
} else if (destructionListUuid) {
60-
params = { destructionList: destructionListUuid };
60+
params = { inDestructionList: destructionListUuid };
6161
} else {
6262
params = undefined;
6363
}

frontend/src/pages/destructionlist/detail/DestructionListDetail.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const meta: Meta<typeof DestructionListDetailPage> = {
5151
],
5252
},
5353
{
54-
url: "http://localhost:8000/api/v1/_zaaktypen-choices/?review=1",
54+
url: "http://localhost:8000/api/v1/_zaaktypen-choices/?inReview=1",
5555
method: "GET",
5656
status: 200,
5757
response: [

frontend/src/pages/destructionlist/review/DestructionListReview.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const meta: Meta<typeof DestructionListReviewPage> = {
2727
parameters: {
2828
mockData: [
2929
{
30-
url: "http://localhost:8000/api/v1/_zaaktypen-choices/?destructionList=00000000-0000-0000-0000-000000000000",
30+
url: "http://localhost:8000/api/v1/_zaaktypen-choices/?inDestructionList=00000000-0000-0000-0000-000000000000",
3131
method: "GET",
3232
status: 200,
3333
response: [

0 commit comments

Comments
 (0)