Skip to content

Commit

Permalink
Added content_owner_id in notification model
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaun committed Oct 13, 2016
1 parent 1af183a commit c785563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/models/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const notification = {
content_name: {
type: 'string'
},
content_owner_id: objectid,
subscribed_user_id: objectid,
translation_info: {
content_id: {
Expand Down
1 change: 1 addition & 0 deletions application/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = function(server) {
content_id: Joi.string(),
content_kind: Joi.string().valid('deck', 'slide'),
content_name: Joi.string(),
content_owner_id: Joi.string(),
subscribed_user_id: Joi.string(),
translation_info: Joi.object().keys({
content_id: Joi.string(),
Expand Down

0 comments on commit c785563

Please sign in to comment.