diff --git a/source/products/characteristics/__snapshots__/test.integration.ts.snap b/source/products/characteristics/__snapshots__/test.integration.ts.snap index 559fcf8..3900148 100644 --- a/source/products/characteristics/__snapshots__/test.integration.ts.snap +++ b/source/products/characteristics/__snapshots__/test.integration.ts.snap @@ -137,7 +137,7 @@ exports[`/products/characteristics GET When asked for an non-existing product [ZodError: [ { "code": "custom", - "message": "Bad response. The item you requested is not available.", + "message": "Bad response. The item you have requested is not available.", "path": [] } ]] diff --git a/source/products/characteristics/__snapshots__/test.unit.ts.snap b/source/products/characteristics/__snapshots__/test.unit.ts.snap index 067d57e..60ca33a 100644 --- a/source/products/characteristics/__snapshots__/test.unit.ts.snap +++ b/source/products/characteristics/__snapshots__/test.unit.ts.snap @@ -137,7 +137,7 @@ exports[`/products/characteristics GET When asked for an non-existing product [ZodError: [ { "code": "custom", - "message": "Bad response. The item you requested is not available.", + "message": "Bad response. The item you have requested is not available.", "path": [] } ]] diff --git a/source/types/error.ts b/source/types/error.ts index 68d8c4c..5925923 100644 --- a/source/types/error.ts +++ b/source/types/error.ts @@ -5,6 +5,6 @@ type ErrorCode = 'empty_response' export const customError = (errorCode: ErrorCode): CustomErrorParams => { switch (errorCode) { case 'empty_response': - return { message: `Bad response. The item you requested is not available.` } + return { message: `Bad response. The item you have requested is not available.` } } }