1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

fix(edge-jobs): HTTP 404 on file upload (#6671)

* fix(edge-jobs): HTTP 404 on file upload

* fix(edge-jobs): state 'edge job' in message on edge job removal instead of 'stack'

* fix(api/edge-jobs): save changes on edge-jobs update
This commit is contained in:
LP B 2022-04-14 18:44:04 +02:00 committed by GitHub
parent 355674cf22
commit 030b3d7c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -48,7 +48,7 @@ angular.module('portainer.app').factory('FileUploadService', [
service.createSchedule = function (payload) {
return Upload.upload({
url: 'api/schedules?method=file',
url: 'api/edge_jobs?method=file',
data: {
file: payload.File,
Name: payload.Name,