From 85bc4ac52b8dcfd8e588c4d4c59137a3bc57ad8c Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 14 Jun 2021 15:48:52 -0700 Subject: [PATCH] GUACAMOLE-680: Correct grammar of authenticationService documentation. "promise succeeds" should be "promise that succeeds". --- .../frontend/src/app/auth/service/authenticationService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/frontend/src/app/auth/service/authenticationService.js b/guacamole/src/main/frontend/src/app/auth/service/authenticationService.js index 16e781713..89d64aeaa 100644 --- a/guacamole/src/main/frontend/src/app/auth/service/authenticationService.js +++ b/guacamole/src/main/frontend/src/app/auth/service/authenticationService.js @@ -254,7 +254,7 @@ angular.module('auth').factory('authenticationService', ['$injector', /** * Makes a request to revoke an authentication token using the token REST - * API endpoint, returning a promise succeeds only if the token was + * API endpoint, returning a promise that succeeds only if the token was * successfully revoked. * * @param {string} token @@ -295,7 +295,7 @@ angular.module('auth').factory('authenticationService', ['$injector', /** * Makes a request to logout a user using the token REST API endpoint, - * returning a promise succeeds only if the logout operation was + * returning a promise that succeeds only if the logout operation was * successful. * * @returns {Promise}