From d0c9ab9f3d29e74ca5a0f45feeb0dac4fd944fbf Mon Sep 17 00:00:00 2001 From: bifrost Date: Tue, 4 Oct 2022 08:27:20 +0200 Subject: [PATCH] minor-refactoring --- src/SchemaRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SchemaRegistry.ts b/src/SchemaRegistry.ts index f3b4be5..cb8ce32 100644 --- a/src/SchemaRegistry.ts +++ b/src/SchemaRegistry.ts @@ -246,7 +246,7 @@ export default class SchemaRegistry { } const response = await this.getSchemaOriginRequest(registryId) - const foundSchema = response.data() as SchemaResponse + const foundSchema: SchemaResponse = response.data() const schemaType = schemaTypeFromString(foundSchema.schemaType)