We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b29db6 commit 2b565b4Copy full SHA for 2b565b4
functions/status.js renamed to functions/status.mjs
@@ -1,8 +1,8 @@
1
-exports.handler = async (event, context) => {
+import {
2
+ NetlifyAPI
3
+} from 'netlify';
4
- import {
- NetlifyAPI
5
- } from 'netlify';
+exports.handler = async (event, context) => {
6
7
const client = new NetlifyAPI(process.env.NETLIFY_TOKEN)
8
const deploys = await client.listSiteDeploys({
0 commit comments