Skip to content

Commit

Permalink
Merge pull request #3883 from serlo/ONM12-kulla-2024-06-12-15-28
Browse files Browse the repository at this point in the history
refactor(taxonomy): Remove `taxonomyId`
  • Loading branch information
elbotho authored Jun 12, 2024
2 parents 78b0ee3 + 36231a5 commit b00eb03
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/fetcher/graphql-types/operations.ts

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion apps/web/src/fetcher/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export const dataQuery = gql`
name
description
weight
taxonomyId
trashed
parent {
id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ export function convertEditorResponseToState(
id: uuid.id,
parent: uuid.parent?.id ?? 0,
position: uuid.weight,
taxonomy: uuid.taxonomyId,
term: {
name: uuid.name,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const taxonomyTypeState = object({
term: object({
name: string(),
}),
taxonomy: number(),
parent: number(),
position: number(),
description: editorContent(),
Expand Down

0 comments on commit b00eb03

Please sign in to comment.