From a5307dcf4c1eacd1e35ac7719cf6a611d7327fd6 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Wed, 8 Nov 2023 16:20:14 -0800 Subject: [PATCH] Fix check --- src/lib/seam/connect/error-interceptor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/seam/connect/error-interceptor.ts b/src/lib/seam/connect/error-interceptor.ts index c477c444..634429e2 100644 --- a/src/lib/seam/connect/error-interceptor.ts +++ b/src/lib/seam/connect/error-interceptor.ts @@ -53,7 +53,7 @@ const isApiErrorResponse = ( typeof data.error === 'object' && data.error != null && 'type' in data.error && - typeof data.error === 'string' + typeof data.error.type === 'string' ) }