diff --git a/sdk/schemaregistry/schema-registry/README.md b/sdk/schemaregistry/schema-registry/README.md index 0fe7fab91115..74d68aa8260e 100644 --- a/sdk/schemaregistry/schema-registry/README.md +++ b/sdk/schemaregistry/schema-registry/README.md @@ -105,7 +105,7 @@ const description = { schemaDefinition: "" } -const found = await client.getSchemaId(description); +const found = await client.getSchemaProperties(description); if (found) { console.log(`Got schema ID=${found.id}`); }