diff --git a/web/src/elements/oauth/UserAccessTokenList.ts b/web/src/elements/oauth/UserAccessTokenList.ts index a0c007234ed9..2007c539c964 100644 --- a/web/src/elements/oauth/UserAccessTokenList.ts +++ b/web/src/elements/oauth/UserAccessTokenList.ts @@ -66,15 +66,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, }); }}