Skip to content

Commit d1e17c3

Browse files
committed
Removed unused function
1 parent 03bdfcb commit d1e17c3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/misc.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ const { fetchJson, fetchText } = require('../tools/fetcher')
22
const config = require('../config.json')
33
const moment = require('moment-timezone')
44
const needle = require('needle')
5-
const inArray = (needle, haystack) => {
6-
let length = haystack.length;
7-
for(let i = 0; i < length; i++) {
8-
if(haystack[i].id == needle) return i;
9-
}
10-
return false;
11-
}
125

136
/**
147
* Search for IG Story.

0 commit comments

Comments
 (0)