Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 75cdf7c

Browse files
author
Rita Rui
committed
OMP - use statusCode to sync with amplify API response
1 parent 09333df commit 75cdf7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/core/fetch/request.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const request = <T>(config: OpenAPIConfig, options: ApiRequestOptions): C
9595
const result: ApiResult = {
9696
url,
9797
ok: response.ok,
98-
status: response.status,
98+
status: response.statusCode,
9999
statusText: response.statusText,
100100
body: responseBody,
101101
};

0 commit comments

Comments
 (0)