From 12f8269f0136b00319ef5fe58ae98848fc9d8059 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sat, 27 Apr 2019 08:56:37 -0400
Subject: [PATCH] make sure to have rights property of user object
---
src/services/entity_normalizer/entity_normalizer.service.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js
index 97e20b99..5b8ad8a4 100644
--- a/src/services/entity_normalizer/entity_normalizer.service.js
+++ b/src/services/entity_normalizer/entity_normalizer.service.js
@@ -141,6 +141,7 @@ export const parseUser = (data) => {
}
output.tags = output.tags || []
+ output.rights = output.rights || {}
return output
}