mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-14 11:06:15 +05: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:
commit
4e18a64da2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user