Skip to content

Commit

Permalink
NOBUG: Removes warnings in console due to missing declarations. (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise authored May 29, 2023
1 parent 335a7ad commit ad8ae9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lambda/keycloakUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config = {
* @returns {Promise<AxiosResponse>} The HTTP response from the server.
* @throws {Error} If the operation fails.
*/
createKeycloakRole = async function (
const createKeycloakRole = async function (
ssoURL,
ssoClientID,
token,
Expand Down Expand Up @@ -59,7 +59,7 @@ createKeycloakRole = async function (
* @returns {Promise<AxiosResponse>} The HTTP response from the server.
* @throws {Error} If the operation fails.
*/
deleteKeycloakRole = async function (ssoURL, ssoClientID, token, role) {
const deleteKeycloakRole = async function (ssoURL, ssoClientID, token, role) {
const url = `${ssoURL}/auth/admin/realms/bcparks-service-transformation/clients/${ssoClientID}/roles/${role}`;
try {
logger.info("Calling Keycloak Service");
Expand All @@ -85,7 +85,7 @@ deleteKeycloakRole = async function (ssoURL, ssoClientID, token, role) {
* @returns {Promise<AxiosResponse>} The HTTP response from the server.
* @throws {Error} If the operation fails.
*/
getKeycloakRole = async function (ssoURL, ssoClientID, token, role) {
const getKeycloakRole = async function (ssoURL, ssoClientID, token, role) {
const url = `${ssoURL}/auth/admin/realms/bcparks-service-transformation/clients/${ssoClientID}/roles/${role}`;
try {
logger.info("Calling Keycloak Service");
Expand Down

0 comments on commit ad8ae9e

Please sign in to comment.