File tree Expand file tree Collapse file tree 4 files changed +668
-213
lines changed
Expand file tree Collapse file tree 4 files changed +668
-213
lines changed Original file line number Diff line number Diff line change @@ -36,20 +36,20 @@ export class FeedApi {
3636 } ) ;
3737 }
3838
39- update (
40- request ?: UpdateFeedRequest ,
41- ) : Promise < StreamResponse < UpdateFeedResponse > > {
42- return this . feedsApi . updateFeed ( {
39+ getOrCreate (
40+ request ?: GetOrCreateFeedRequest ,
41+ ) : Promise < StreamResponse < GetOrCreateFeedResponse > > {
42+ return this . feedsApi . getOrCreateFeed ( {
4343 feed_id : this . id ,
4444 feed_group_id : this . group ,
4545 ...request ,
4646 } ) ;
4747 }
4848
49- getOrCreate (
50- request ?: GetOrCreateFeedRequest ,
51- ) : Promise < StreamResponse < GetOrCreateFeedResponse > > {
52- return this . feedsApi . getOrCreateFeed ( {
49+ update (
50+ request ?: UpdateFeedRequest ,
51+ ) : Promise < StreamResponse < UpdateFeedResponse > > {
52+ return this . feedsApi . updateFeed ( {
5353 feed_id : this . id ,
5454 feed_group_id : this . group ,
5555 ...request ,
You can’t perform that action at this time.
0 commit comments