From eb858691585a3b6bf42727a28ecb3bf2147b68f9 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 5 Nov 2019 15:35:51 +0100
Subject: [PATCH] Add status to dictionary represantion
---
app/models.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/models.py b/app/models.py
index a6af9cd6..5b86fa28 100644
--- a/app/models.py
+++ b/app/models.py
@@ -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}