mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update api.js
This commit is contained in:
parent
6705b00f59
commit
0d24a12c8c
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ class API {
|
||||||
find(query) {
|
find(query) {
|
||||||
return _.find(this.collection, query)
|
return _.find(this.collection, query)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
all() {
|
||||||
|
return this.collection
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const api = {}
|
const api = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue