Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
do4gr committed Mar 27, 2018
1 parent b5221bf commit 0895145
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.prisma.deploy.schema.mutations

import com.prisma.deploy.connector.{DeployConnector, ProjectPersistence}
import com.prisma.deploy.schema.InvalidServiceName
import com.prisma.deploy.schema.InvalidProjectId
import com.prisma.messagebus.PubSubPublisher
import com.prisma.messagebus.pubsub.Only
import com.prisma.shared.models._
Expand All @@ -17,10 +17,9 @@ case class DeleteProjectMutation(
implicit ec: ExecutionContext
) extends Mutation[DeleteProjectMutationPayload] {

override def execute: Future[MutationResult[DeleteProjectMutationPayload]] = {

val projectId = ProjectId.toEncodedString(name = args.name, stage = args.stage)
val projectId = ProjectId.toEncodedString(name = args.name, stage = args.stage)

override def execute: Future[MutationResult[DeleteProjectMutationPayload]] = {
for {
projectOpt <- projectPersistence.load(projectId)
project = validate(projectOpt)
Expand Down

0 comments on commit 0895145

Please sign in to comment.