diff --git a/server/portfolio/inputs.py b/server/portfolio/inputs.py index ebb4e354..e41340e6 100644 --- a/server/portfolio/inputs.py +++ b/server/portfolio/inputs.py @@ -28,5 +28,5 @@ class AddProjectEntryArgument(ProjectEntryInput): class UpdateProjectEntryArgument(ProjectEntryInput): - slug = graphene.String(required=True) + id = graphene.ID(required=True) diff --git a/server/schema.graphql b/server/schema.graphql index 3b8b0d41..b3f1e957 100644 --- a/server/schema.graphql +++ b/server/schema.graphql @@ -71,7 +71,7 @@ input AddProjectArgument { input AddProjectEntryArgument { description: String documentUrl: String - project: ID! + project: String! } input AddProjectEntryInput { @@ -408,7 +408,7 @@ type DeleteProjectEntryPayload { } input DeleteProjectInput { - id: ID! + slug: String! clientMutationId: String } @@ -1302,7 +1302,7 @@ input UpdateProjectArgument { description: String objectives: String appearance: String - id: ID! + slug: String! final: Boolean } @@ -1335,7 +1335,7 @@ type UpdateProjectPayload { } input UpdateProjectSharedStateInput { - id: ID + slug: String shared: Boolean clientMutationId: String }