Dankoy / jforwarder

Telegram bot for coub.com communities, tags and channels subscriptions.
https://t.me/coub_forwarder_bot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Update tag_orders schema #13

Closed Dankoy closed 9 months ago

Dankoy commented 1 year ago

Current schema id, name name contains technical data like likes_count, newest_popular, views_count, newest

Should be id, name, value

name contains user-friendly data like top, popular, views_count, fresh value contains technical data like likes_count, newest_popular, views_count, newest

So when user subscribe by tags (top, popular, views_count, fresh), but scheduler sends request to gateway using values, not names.