Skip to content

Commit

Permalink
fixing schema issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanCampbell1 committed Oct 14, 2024
1 parent 7d9ca3c commit 635d36e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ type Mutation {
data: CreateActionItemInput!
): ActionItem!
createActionItemCategory(
isDisabled: Boolean!
name: String!
organizationId: ID!
): ActionItemCategory!
Expand Down
12 changes: 10 additions & 2 deletions src/GraphQl/Mutations/ActionItemCategoryMutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ import gql from 'graphql-tag';
*/

export const CREATE_ACTION_ITEM_CATEGORY_MUTATION = gql`
mutation CreateActionItemCategory($name: String!, $organizationId: ID!) {
createActionItemCategory(name: $name, organizationId: $organizationId) {
mutation CreateActionItemCategory(
$isDisabled: Boolean!
$name: String!
$organizationId: ID!
) {
createActionItemCategory(
isDisabled: $isDisabled
name: $name
organizationId: $organizationId
) {
_id
}
}
Expand Down

0 comments on commit 635d36e

Please sign in to comment.