Skip to content

Commit

Permalink
Revert netlify functions to commonJS
Browse files Browse the repository at this point in the history
  • Loading branch information
LkeMitchll committed Mar 28, 2021
1 parent 0a8b631 commit 9e4b0e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/functions/music-lastweek.js
@@ -1,4 +1,4 @@
import fetch from "node-fetch";
const fetch = require("node-fetch");

class LastFMAPI {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion src/functions/music-top.js
@@ -1,4 +1,4 @@
import fetch from "node-fetch";
const fetch = require("node-fetch");

class SpotifyAPI {
constructor() {
Expand Down

0 comments on commit 9e4b0e9

Please sign in to comment.