Skip to content

Commit 5c67968

Browse files
fix: Remove unused attributes on interface and rename orcidPAth attribute (#1986)
1 parent a041515 commit 5c67968

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/app/core/account-trusted-organizations/account-trusted-organizations.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class AccountTrustedOrganizationsService {
3939
.post<AccountTrustedOrganization[]>(
4040
environment.API_WEB +
4141
`account/revoke-application.json?clientId=` +
42-
account.orcidPath,
42+
account.clientId,
4343
undefined,
4444
{ headers: this.headers }
4545
)

src/app/types/account-trusted-organizations.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
export interface AccountTrustedOrganization {
2-
orcidUri: string
3-
orcidPath: string
4-
orcidHost: string
52
name: string
6-
groupOrcidUri?: any
7-
groupOrcidPath: string
8-
groupOrcidHost?: any
9-
groupName: string
3+
clientId: string
104
websiteValue: string
115
approvalDate: number
126
scopePaths: { [key in ScopePathType]: string }
13-
tokenId: string
147
}
158

169
export enum ScopePathType {

0 commit comments

Comments
 (0)