Skip to content

Commit

Permalink
fix(): corrected config param type in createKeycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseGoncalves committed Jun 18, 2024
1 parent be2cd3e commit 11c311f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keycloak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function updateToken(minValidity: number): Promise<string> {
return $keycloak.token
}

export function createKeycloak(config: KeycloakConfig | string): Keycloak {
export function createKeycloak(config: KeycloakConfig): Keycloak {
$keycloak = new Keycloak(config)
setKeycloak($keycloak)
return $keycloak
Expand Down

0 comments on commit 11c311f

Please sign in to comment.