Skip to content

Commit 60ba2a4

Browse files
committed
fix(Interceptor): type
1 parent 75dbe03 commit 60ba2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Interceptors/StatusFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Chain } from "../Interceptor.js";
1212
*/
1313
export const StatusOK = async function (chain: Chain) {
1414
const response = await chain.proceed(chain.request);
15-
return chainW(filterStatusOk)(response);
15+
return chainW((r: Response) => filterStatusOk(r))(response);
1616
};
1717

1818
/**

0 commit comments

Comments
 (0)