Skip to content

Commit

Permalink
fix: wrong name for dictionarySetField function in internal data clie…
Browse files Browse the repository at this point in the history
…nt (#346)

This just fixes a typo in the internal data client class.
  • Loading branch information
cprice404 authored Mar 13, 2023
1 parent cc8f6b7 commit 34b6453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cache-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ export class CacheClient {
options?: DictionarySetFieldOptions
): Promise<CacheDictionarySetField.Response> {
const client = this.getNextDataClient();
return await client.dictionarySendField(
return await client.dictionarySetField(
cacheName,
dictionaryName,
field,
Expand Down
2 changes: 1 addition & 1 deletion src/internal/data-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ export class DataClient {
});
}

public async dictionarySendField(
public async dictionarySetField(
cacheName: string,
dictionaryName: string,
field: string | Uint8Array,
Expand Down

0 comments on commit 34b6453

Please sign in to comment.