aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/News.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/News.js')
-rw-r--r--src/models/News.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/News.js b/src/models/News.js
index e8953ff8c..a96e6550f 100644
--- a/src/models/News.js
+++ b/src/models/News.js
@@ -6,7 +6,7 @@ export default class News {
6 type: string = 'primary'; 6 type: string = 'primary';
7 sticky: bool = false; 7 sticky: bool = false;
8 8
9 constructor(data: Object) { 9 constructor(data) {
10 if (!data.id) { 10 if (!data.id) {
11 throw Error('News requires Id'); 11 throw Error('News requires Id');
12 } 12 }