Skip to content

Commit

Permalink
Fix createItem types
Browse files Browse the repository at this point in the history
  • Loading branch information
richkuz committed Mar 1, 2022
1 parent 71a4e42 commit cde21bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/project-actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ describe("projectActions", () => {

describe("createItem", () => {
it("creates an item", async () => {
const mockCreateItemMutation = `mutation createItem($projectId: String!, $contentId: String!) {
const mockCreateItemMutation = `mutation createItem($projectId: ID!, $contentId: ID!) {
addProjectNextItem(input: {projectId: $projectId contentId: $contentId}) {
projectNextItem {
id
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28504,7 +28504,7 @@ class ProjectActions {
async createItem(octokit, projectId, contentId) {
try {
const mutation = `
mutation createItem($projectId: String!, $contentId: String!) {
mutation createItem($projectId: ID!, $contentId: ID!) {
addProjectNextItem(input: {projectId: $projectId contentId: $contentId}) {
projectNextItem {
id
Expand Down
2 changes: 1 addition & 1 deletion project-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ProjectActions {
async createItem(octokit, projectId, contentId) {
try {
const mutation = `
mutation createItem($projectId: String!, $contentId: String!) {
mutation createItem($projectId: ID!, $contentId: ID!) {
addProjectNextItem(input: {projectId: $projectId contentId: $contentId}) {
projectNextItem {
id
Expand Down

0 comments on commit cde21bc

Please sign in to comment.