Skip to content

Commit 2b29db6

Browse files
committed
test
1 parent 22d3406 commit 2b29db6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

functions/status.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
// Netlify API is now ES Module
2-
import {
3-
NetlifyAPI
4-
} from 'netlify';
5-
61
exports.handler = async (event, context) => {
72

3+
import {
4+
NetlifyAPI
5+
} from 'netlify';
6+
87
const client = new NetlifyAPI(process.env.NETLIFY_TOKEN)
98
const deploys = await client.listSiteDeploys({
109
siteId: process.env.NETLIFY_SITE_ID

0 commit comments

Comments
 (0)