Skip to content

Commit 7a11d39

Browse files
authored
Update http-data-source.ts (#12)
1 parent 9f5652f commit 7a11d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http-data-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export abstract class HTTPDataSource<TContext = any> extends DataSource {
127127
}
128128

129129
protected isResponseOk(statusCode: number): boolean {
130-
return (statusCode >= 200 && statusCode <= 399) || statusCode === 304
130+
return statusCode >= 200 && statusCode <= 399
131131
}
132132

133133
protected isResponseCacheable<TResult = unknown>(

0 commit comments

Comments
 (0)