fix backend

This commit is contained in:
CHIEFSOFT\ameye
2025-09-23 11:59:54 -04:00
parent 32f0a69598
commit cd95765898
3 changed files with 43 additions and 17 deletions
+2 -3
View File
@@ -26,14 +26,13 @@ class Members(db.Model):
option_name = db.Column(db.String(100), nullable=True)
next_billing= db.Column(db.DateTime(timezone=False))
trial_end = db.Column(db.DateTime(timezone=False))
# "account_id": self.account_id,
def to_dict(self):
return {
"id": self.id,
"uid": str(self.uid),
"profile_completed": self.profile_completed,
"username": self.account_id,
"account_id": self.username,
"username": self.username,
"password": self.password,
"country": self.country,
"loc": self.loc,