Skip to content

Commit

Permalink
Merge pull request #407 from ushahidi/hotfix/login-popups-contacts
Browse files Browse the repository at this point in the history
Ignore 403 errors when loading post contacts
  • Loading branch information
rjmackay committed Nov 7, 2016
2 parents 9ea7177 + d48d8d8 commit 4e2106d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/posts/common/post-metadata.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function PostMetadataService(
},
loadContact: function (post) {
if (!post.user && post.contact && post.contact.id) {
return ContactEndpoint.get({ id: post.contact.id });
return ContactEndpoint.get({ id: post.contact.id, ignore403: true });
}
}
};
Expand Down

0 comments on commit 4e2106d

Please sign in to comment.