This commit is contained in:
Henry Jameson 2026-08-10 15:48:27 +03:00
commit 15cc5f44e9
15 changed files with 85 additions and 65 deletions

View file

@ -123,7 +123,7 @@ export const promisedRequest = async ({
const { ok, status } = response
if (ok) {
return { response, status, data }
return { response, status, data, timestamp: Date.now() }
} else {
throw new StatusCodeError(response.status, data, { url, options }, response)
}