diff options
| author | A Farzat <a@farzat.xyz> | 2025-10-08 18:10:46 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-10-08 18:10:46 +0300 |
| commit | 1d7afc2f1372e46a102d088242bbccec5ba5af4e (patch) | |
| tree | aa0a83acedb3b4c63ebfc1478228b55e6cfa29da /wsgi | |
| parent | 05607dc845a1dd111fd393478acf084ca3532081 (diff) | |
| download | csca5028-1d7afc2f1372e46a102d088242bbccec5ba5af4e.tar.gz csca5028-1d7afc2f1372e46a102d088242bbccec5ba5af4e.zip | |
Add a title attribute to subscriptions
Diffstat (limited to 'wsgi')
| -rw-r--r-- | wsgi/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wsgi/__init__.py b/wsgi/__init__.py index e467f82..dab7b7e 100644 --- a/wsgi/__init__.py +++ b/wsgi/__init__.py @@ -33,6 +33,7 @@ def add_sub() -> Dict[str, Any]: sub = Subscription( _id=sub_info["id"], link=sub_info["link"], + title=sub_info["title"], time_between_fetches=int(request.form["time_between_fetches"]), ) sub.insert() |
