We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31f2a10 + 846b446 commit 799fff0Copy full SHA for 799fff0
src/client.js
@@ -896,7 +896,7 @@ export default class PubSubApiClient {
896
if (!schema) {
897
try {
898
schema = await this.#fetchEventSchemaFromIdWithClient(schemaId);
899
- this.#schemas.set(schema.schema, schema);
+ this.#schemas.set(schema.id, schema);
900
} catch (error) {
901
throw new Error(`Failed to load schema with ID ${schemaId}`, {
902
cause: error
0 commit comments