Add status to dictionary represantion

This commit is contained in:
Patrick Jentsch 2019-11-05 15:35:51 +01:00
parent a9efc06d07
commit eb85869158

View File

@ -465,6 +465,7 @@ class Corpus(db.Model):
return {'id': self.id,
'creation_date': self.creation_date.timestamp(),
'description': self.description,
'status': self.status,
'title': self.title,
'user_id': self.user_id}