forked from cerc-io/snowballtools-base
Set project name for repository organization and name (#57)
* Remove unused methods from backend utils * Set project name from repo organization and name when creating project * Rename success and project components according to routes
This commit is contained in:
@@ -44,7 +44,9 @@ mutation ($deploymentId: String!) {
|
||||
|
||||
export const addProject = gql`
|
||||
mutation ($data: AddProjectInput) {
|
||||
addProject(data: $data)
|
||||
addProject(data: $data) {
|
||||
id
|
||||
}
|
||||
}`;
|
||||
|
||||
export const updateProjectMutation = gql`
|
||||
|
||||
@@ -220,7 +220,7 @@ export type UpdateDeploymentToProdResponse = {
|
||||
}
|
||||
|
||||
export type AddProjectResponse = {
|
||||
addProject: boolean
|
||||
addProject: Project
|
||||
}
|
||||
|
||||
export type UpdateProjectResponse = {
|
||||
|
||||
Reference in New Issue
Block a user