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) {
|
}: SwarmGitRepositoryPayload) {
|
||||||
try {
|
try {
|
||||||
const { data } = await axios.post<Stack>(
|
const { data } = await axios.post<Stack>(
|
||||||
buildCreateUrl('standalone', 'repository'),
|
buildCreateUrl('swarm', 'repository'),
|
||||||
payload,
|
payload,
|
||||||
{
|
{
|
||||||
params: { endpointId: environmentId },
|
params: { endpointId: environmentId },
|
||||||
|
|
Loading…
Reference in New Issue