GUACAMOLE-1579: Merge stop including the auth token when making requests to the /api/patches endpoint.

This commit is contained in:
Virtually Nick
2023-05-12 07:16:05 -04:00
committed by GitHub

View File

@@ -25,7 +25,6 @@ angular.module('rest').factory('patchService', ['$injector',
// Required services // Required services
var requestService = $injector.get('requestService'); var requestService = $injector.get('requestService');
var authenticationService = $injector.get('authenticationService');
var cacheService = $injector.get('cacheService'); var cacheService = $injector.get('cacheService');
var service = {}; var service = {};
@@ -43,7 +42,7 @@ angular.module('rest').factory('patchService', ['$injector',
service.getPatches = function getPatches() { service.getPatches = function getPatches() {
// Retrieve all applicable HTML patches // Retrieve all applicable HTML patches
return authenticationService.request({ return requestService({
cache : cacheService.patches, cache : cacheService.patches,
method : 'GET', method : 'GET',
url : 'api/patches' url : 'api/patches'