mirror of https://github.com/portainer/portainer
fix(swarm): failed to deploy app template [BE-11385] (#138)
parent
17c92343e0
commit
bc44056815
|
@ -52,7 +52,7 @@ export async function createSwarmStackFromGit({
|
|||
}: SwarmGitRepositoryPayload) {
|
||||
try {
|
||||
const { data } = await axios.post<Stack>(
|
||||
buildCreateUrl('standalone', 'repository'),
|
||||
buildCreateUrl('swarm', 'repository'),
|
||||
payload,
|
||||
{
|
||||
params: { endpointId: environmentId },
|
||||
|
|
Loading…
Reference in New Issue