Skip to content

Commit 4e18a64

Browse files
authored
Merge pull request #4710 from elijahdev0/fix/add-source-type-to-create-apis
fix: add sourceType to apiCreateCompose and apiCreateApplication
2 parents 3e10a8d + 30c408b commit 4e18a64

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/server/src/db/schema/application.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ export const apiCreateApplication = createSchema.pick({
398398
description: true,
399399
environmentId: true,
400400
serverId: true,
401+
sourceType: true,
401402
});
402403

403404
export const apiFindOneApplication = z.object({

packages/server/src/db/schema/compose.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export const apiCreateCompose = createSchema.pick({
217217
appName: true,
218218
serverId: true,
219219
composeFile: true,
220+
sourceType: true,
220221
});
221222

222223
export const apiCreateComposeByTemplate = createSchema

0 commit comments

Comments
 (0)