DEV Community

Discussion on: How to handle API downtime with 2 lines of code

Collapse
 
alistaiiiir profile image
alistair smith

This could even be one line:

require('@bearer/node-agent').init({ secretKey: '...' })