mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-1579: Stop including the auth token when making requests to the /api/patches endpoint.
This commit is contained in:
@@ -25,7 +25,6 @@ angular.module('rest').factory('patchService', ['$injector',
|
||||
|
||||
// Required services
|
||||
var requestService = $injector.get('requestService');
|
||||
var authenticationService = $injector.get('authenticationService');
|
||||
var cacheService = $injector.get('cacheService');
|
||||
|
||||
var service = {};
|
||||
@@ -43,7 +42,7 @@ angular.module('rest').factory('patchService', ['$injector',
|
||||
service.getPatches = function getPatches() {
|
||||
|
||||
// Retrieve all applicable HTML patches
|
||||
return authenticationService.request({
|
||||
return requestService({
|
||||
cache : cacheService.patches,
|
||||
method : 'GET',
|
||||
url : 'api/patches'
|
||||
|
Reference in New Issue
Block a user