diff --git a/SQL/site_data.sql b/SQL/site_data.sql index c16fdc7..75770fc 100644 --- a/SQL/site_data.sql +++ b/SQL/site_data.sql @@ -99,7 +99,7 @@ CREATE TABLE member_product_refresh( uid uuid DEFAULT uuid_generate_v4(), member_id INT REFERENCES members(id), product_id VARCHAR(25) NOT NULL, - subscription_uid VARCHAR(100) UNIQUE NOT NULL, + subscription_uid VARCHAR(100) NOT NULL, status INT DEFAULT 0, added timestamp without time zone DEFAULT now(), updated timestamp without time zone DEFAULT now() diff --git a/app/api/services/account.py b/app/api/services/account.py index 61d3e2a..fb79407 100644 --- a/app/api/services/account.py +++ b/app/api/services/account.py @@ -164,10 +164,22 @@ class AccountService(BaseService): calendar_data = { "last_update": datetime.datetime.utcnow(), "category": [ - {"cid": "1", "description": "category 01"}, - {"cid": "2", "description": "category 02"}, - {"cid": "3", "description": "category 03"}, - {"cid": "4", "description": "category 04"}, + { + "cid": "1", + "description": "Health Check" + }, + { + "cid": "2", + "description": "Product Updates" + }, + { + "cid": "3", + "description": "Provisioning" + }, + { + "cid": "4", + "description": "Contacts" + } ], "list": dList }