1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

fix(ui): remove loading of missing interceptors [EE-4604] (#8086)

This commit is contained in:
Chaim Lev-Ari 2022-11-21 17:25:09 +02:00 committed by GitHub
parent 1e4c4e2616
commit 253a3a2b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 17 deletions

View file

@ -6,8 +6,7 @@ angular.module('portainer.docker').factory('Image', [
'API_ENDPOINT_ENDPOINTS',
'EndpointProvider',
'HttpRequestHelper',
'ImagesInterceptor',
function ImageFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider, HttpRequestHelper, ImagesInterceptor) {
function ImageFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider, HttpRequestHelper) {
'use strict';
return $resource(
@ -16,7 +15,7 @@ angular.module('portainer.docker').factory('Image', [
endpointId: EndpointProvider.endpointID,
},
{
query: { method: 'GET', params: { all: 0, action: 'json' }, isArray: true, interceptor: ImagesInterceptor },
query: { method: 'GET', params: { all: 0, action: 'json' }, isArray: true },
get: { method: 'GET', params: { action: 'json' } },
search: { method: 'GET', params: { action: 'search' } },
history: { method: 'GET', params: { action: 'history' }, isArray: true },