We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c80dbc commit 5e625c9Copy full SHA for 5e625c9
lib/currentCoupons.ts
@@ -10,7 +10,7 @@ export default async (apiEndpoint: string = 'https://5j4d1u7jhf.execute-api.eu-w
10
try {
11
const res = await fetch(apiEndpoint)
12
const body = await res.json()
13
- logger.info(`[${colors.green('✔')}] API lookup success: ${JSON.stringify(body)}`)
+ logger.info(`[${colors.green('✔')}] API lookup success: ${body}`)
14
return body
15
} catch (error) {
16
if (error instanceof Error) {
0 commit comments