mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fetch feed name
This commit is contained in:
@@ -21,6 +21,12 @@ module.factory('SubscriptionService', [
|
||||
return array;
|
||||
}
|
||||
var actions = {
|
||||
fetch : {
|
||||
method : 'GET',
|
||||
params : {
|
||||
_method : 'fetch'
|
||||
}
|
||||
},
|
||||
get : {
|
||||
method : 'GET',
|
||||
params : {
|
||||
@@ -58,6 +64,7 @@ module.factory('SubscriptionService', [
|
||||
callback(data);
|
||||
});
|
||||
};
|
||||
s.fetch = res.fetch;
|
||||
s.subscribe = function(sub, callback) {
|
||||
res.subscribe(sub, function(data) {
|
||||
s.init();
|
||||
|
||||
Reference in New Issue
Block a user