Skip to content

Commit

Permalink
Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
SlavyanDesu committed Jan 8, 2021
1 parent 03bdfcb commit d1e17c3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ const { fetchJson, fetchText } = require('../tools/fetcher')
const config = require('../config.json')
const moment = require('moment-timezone')
const needle = require('needle')
const inArray = (needle, haystack) => {
let length = haystack.length;
for(let i = 0; i < length; i++) {
if(haystack[i].id == needle) return i;
}
return false;
}

/**
* Search for IG Story.
Expand Down

0 comments on commit d1e17c3

Please sign in to comment.