Khrisna commited on
Commit
342c104
·
verified ·
1 Parent(s): f9fb43e

Update lib/toanime.js

Browse files
Files changed (1) hide show
  1. lib/toanime.js +3 -2
lib/toanime.js CHANGED
@@ -1,7 +1,7 @@
1
  import WebSocket from "ws";
2
 
3
 
4
- function toanime({imgBuffer}) {
5
  return new Promise(async(resolve, reject) => {
6
  //const imgBuffer = await axios.get(urls, { responseType: "arraybuffer" });
7
  const imgBase64 = imgBuffer.toString("base64");
@@ -45,4 +45,5 @@ function toanime({imgBuffer}) {
45
  })
46
  }
47
 
48
- export { toanime };
 
 
1
  import WebSocket from "ws";
2
 
3
 
4
+ function toAnime({imgBuffer}) {
5
  return new Promise(async(resolve, reject) => {
6
  //const imgBuffer = await axios.get(urls, { responseType: "arraybuffer" });
7
  const imgBase64 = imgBuffer.toString("base64");
 
45
  })
46
  }
47
 
48
+
49
+ export { toAnime };