Skip to content

Commit f79eed1

Browse files
committed
fix: align UnpublishInput schema with SaaS
1 parent 0817614 commit f79eed1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/domain/src/trpc/domain.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,7 @@ export const domainRouter = router({
174174

175175
// Call deployment service to delete the worker for this domain
176176
const result = await deploymentTrpc.unpublish.mutate({
177-
projectId: input.projectId,
178177
domain: input.domain,
179-
// preview support
180-
branchName: env.GITHUB_REF_NAME,
181178
});
182179

183180
// Allow NOT_IMPLEMENTED to proceed (for local dev without deployment service)

packages/trpc-interface/src/shared/deployment.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ export const PublishInput = z.object({
1616
});
1717

1818
export const UnpublishInput = z.object({
19-
projectId: z.string(),
2019
domain: z.string(),
21-
// preview support
22-
branchName: z.string(),
2320
});
2421

2522
export const Output = z.discriminatedUnion("success", [

0 commit comments

Comments
 (0)