@argab/request-service
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@argab/request-service", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Provides a fully customizable Library for handling API using Request repositories and Stubs.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -94,6 +94,6 @@ import {ClientDecorator, RequestDecorator} from "./Decorators" | ||
const isSuccess = this.resolveHandlers(response, handlers, 'isSuccess') | ||
const isError = this.resolveHandlers(response, handlers, 'isError') | ||
const isSuccess = this.resolveHandlers({...response}, handlers, 'isSuccess') | ||
const isError = this.resolveHandlers({...response}, handlers, 'isError') | ||
if (isSuccess === true || (isSuccess === undefined && !isError)) { | ||
if (isSuccess === true || (isSuccess !== true && isError !== true)) { | ||
@@ -100,0 +100,0 @@ request.data.success instanceof Function |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43844