Update worms, insert data renamed to pairs.
This commit is contained in:
parent
e30555fc4e
commit
a4e098136a
2 changed files with 4 additions and 4 deletions
|
@ -79,7 +79,7 @@ class BDBFeedMixin:
|
|||
'icon': icon,
|
||||
'ui_order_rank': ui_order_rank,
|
||||
}
|
||||
self.insert(table=objects.Feed, data=data)
|
||||
self.insert(table=objects.Feed, pairs=data)
|
||||
feed = self.get_cached_instance(objects.Feed, data)
|
||||
return feed
|
||||
|
||||
|
@ -179,7 +179,7 @@ class BDBFilterMixin:
|
|||
'conditions': conditions,
|
||||
'actions': actions,
|
||||
}
|
||||
self.insert(table=objects.Filter, data=data)
|
||||
self.insert(table=objects.Filter, pairs=data)
|
||||
filt = self.get_cached_instance(objects.Filter, data)
|
||||
return filt
|
||||
|
||||
|
@ -285,7 +285,7 @@ class BDBNewsMixin:
|
|||
'authors': authors,
|
||||
'enclosures': enclosures,
|
||||
}
|
||||
self.insert(table=objects.News, data=data)
|
||||
self.insert(table=objects.News, pairs=data)
|
||||
news = self.get_cached_instance(objects.News, data)
|
||||
return news
|
||||
|
||||
|
|
|
@ -502,7 +502,7 @@ class Feed(ObjectBase):
|
|||
'filter_id': filt.id,
|
||||
'order_rank': index + 1,
|
||||
}
|
||||
self.bringdb.insert(table='feed_filter_rel', data=data)
|
||||
self.bringdb.insert(table='feed_filter_rel', pairs=data)
|
||||
|
||||
@worms.atomic
|
||||
def set_http_headers(self, http_headers):
|
||||
|
|
Loading…
Reference in a new issue