Skip to content

Commit

Permalink
fix: inspector warning on supported interceptors
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCorrelation committed Nov 27, 2024
1 parent d2a51fe commit 82c92cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ export class InterceptorsInspectorService extends Service implements Inspector {

const currentInterceptor = this.interceptors.currentInterceptor.value

// TODO: Maybe move feature determination/checking related things to interceptor system.
if (
isBinaryBody &&
currentInterceptor &&
!currentInterceptor.supportsBinaryContentType
currentInterceptor.supportsBinaryContentType === false
) {
return [
{
Expand Down

0 comments on commit 82c92cc

Please sign in to comment.