fullpwerr commited on
Commit
baf0ae1
·
1 Parent(s): 842baf5
Files changed (1) hide show
  1. fnc/download.js +1 -1
fnc/download.js CHANGED
@@ -1,7 +1,7 @@
1
- const fetch = require("node-fetch").default;
2
  const axios = require("axios");
3
 
4
  module.exports = async function(req, res, next) {
 
5
  try {
6
  const {
7
  url,
 
 
1
  const axios = require("axios");
2
 
3
  module.exports = async function(req, res, next) {
4
+ const fetch = await import("node-fetch").default;
5
  try {
6
  const {
7
  url,