Skip to content

Commit

Permalink
Changing value to values
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Aug 3, 2021
1 parent f0ae6d8 commit 1b58fdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ddo/interfaces/Credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type CredentialAction = 'allow' | 'deny'

export interface Credential {
type: CredentialType
value: string[]
values: string[]
}

export interface Credentials {
Expand Down
4 changes: 2 additions & 2 deletions src/ocean/AssetsCredential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function updateCredentialDetail(
if (exists) {
ddo.credentials.allow.find((credential) => {
if (credential.type === credentialType) {
credential.value = list
credential.values = list
}
})
} else {
Expand All @@ -107,7 +107,7 @@ export function updateCredentialDetail(
if (exists) {
ddo.credentials.deny.find((credential) => {
if (credential.type === credentialType) {
credential.value = list
credential.values = list
}
})
} else {
Expand Down

0 comments on commit 1b58fdf

Please sign in to comment.