diff --git a/web/src/elements/oauth/UserAccessTokenList.ts b/web/src/elements/oauth/UserAccessTokenList.ts index 769e9bdd4e67..05fd30b11dbb 100644 --- a/web/src/elements/oauth/UserAccessTokenList.ts +++ b/web/src/elements/oauth/UserAccessTokenList.ts @@ -63,15 +63,15 @@ export class UserOAuthAccessTokenList extends Table { renderToolbarSelected(): TemplateResult { const disabled = this.selectedElements.length < 1; return html` { - return new Oauth2Api(DEFAULT_CONFIG).oauth2RefreshTokensUsedByList({ + return new Oauth2Api(DEFAULT_CONFIG).oauth2AccessTokensUsedByList({ id: item.pk, }); }} .delete=${(item: ExpiringBaseGrantModel) => { - return new Oauth2Api(DEFAULT_CONFIG).oauth2RefreshTokensDestroy({ + return new Oauth2Api(DEFAULT_CONFIG).oauth2AccessTokensDestroy({ id: item.pk, }); }}