Skip to content

Commit

Permalink
Use Key#uid instead of Key#key in code-samples
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali committed Jul 7, 2022
1 parent 9cd4f19 commit 9d5cc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ authorization_header_1: |-
var client = MeiliSearchClient('http://127.0.0.1:7700', 'masterKey');
await client.getKeys();
get_one_key_1: |-
await client.getKey('d0552b41536279a0ad88bd595327b96f01176a60c2243e906c52ac02375f9bc4');
await client.getKey('6062abda-a5aa-4414-ac91-ecd7944c0f8d');
get_all_keys_1: |-
await client.getKeys(KeysQuery(limit: 3));
create_a_key_1: |-
Expand All @@ -425,7 +425,7 @@ create_a_key_1: |-
);
update_a_key_1: |-
await client.updateKey(
'd0552b41536279a0ad88bd595327b96f01176a60c2243e906c52ac02375f9bc4',
'6062abda-a5aa-4414-ac91-ecd7944c0f8d',
description: 'Manage documents: Products/Reviews API key',
name: 'Products/Reviews API key'
);
Expand Down

0 comments on commit 9d5cc18

Please sign in to comment.