designerid renamed to id
This commit is contained in:
@@ -43,10 +43,10 @@ class Designer(db.Model):
|
|||||||
|
|
||||||
def to_json(self):
|
def to_json(self):
|
||||||
return {
|
return {
|
||||||
|
'id': self.id,
|
||||||
'commission': self.commission,
|
'commission': self.commission,
|
||||||
'commission_resale': self.commission_resale,
|
'commission_resale': self.commission_resale,
|
||||||
'currency': self.currency,
|
'currency': self.currency,
|
||||||
'designerid': self.id,
|
|
||||||
'name': self.name,
|
'name': self.name,
|
||||||
'no_follow': self.no_follow,
|
'no_follow': self.no_follow,
|
||||||
'path': self.path,
|
'path': self.path,
|
||||||
|
|||||||
Reference in New Issue
Block a user