Skip to content

Commit

Permalink
update sdk to support api features (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmeirlevy authored Jan 15, 2024
1 parent 241f5ab commit 0a549ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export class PriciSdk {
return this.#remult.call(this.#accountFields.incrementField, this.#accountFields, accountId, fieldId, incrementAmount)
}

getFieldState(accountId: string, fieldId: string) {
return this.#remult.call(this.#accountFields.getFieldState, this.#accountFields, accountId, fieldId)
getFieldState(accountId: string, fieldId: string, allowedValue?: number | string) {
return this.#remult.call(this.#accountFields.getFieldState, this.#accountFields, accountId, fieldId, allowedValue)
}

}
Expand Down

0 comments on commit 0a549ad

Please sign in to comment.