mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 13:21:11 +00:00
Merge pull request #4710 from elijahdev0/fix/add-source-type-to-create-apis
fix: add sourceType to apiCreateCompose and apiCreateApplication
This commit is contained in:
@@ -398,6 +398,7 @@ export const apiCreateApplication = createSchema.pick({
|
||||
description: true,
|
||||
environmentId: true,
|
||||
serverId: true,
|
||||
sourceType: true,
|
||||
});
|
||||
|
||||
export const apiFindOneApplication = z.object({
|
||||
|
||||
@@ -217,6 +217,7 @@ export const apiCreateCompose = createSchema.pick({
|
||||
appName: true,
|
||||
serverId: true,
|
||||
composeFile: true,
|
||||
sourceType: true,
|
||||
});
|
||||
|
||||
export const apiCreateComposeByTemplate = createSchema
|
||||
|
||||
Reference in New Issue
Block a user