APIFeed rm construcotr
This commit is contained in:
1 parent
335ba9b6f9
commit
596ea0d781
1 file changed
-4
@@ -6,10 +6,6 @@ import {query} from '../../utils/net';
|
||||
import EndPoint from './EndPoint';
|
||||
|
||||
export default class APIFeed extends EndPoint{
|
||||
constructor(http){
|
||||
super(http)
|
||||
}
|
||||
|
||||
feed(count, portion) {
|
||||
let q = query([['count', count], ['portion', portion]]);
|
||||
return this.request.get(`/news?${q}`);
|
||||
|
||||
Reference in new issue
Block a user