Skip to content

Commit eb8dabf

Browse files
committed
feat: persist anonymous flag to post data model (#6)
1 parent 7119c2d commit eb8dabf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/posts/create.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = function (Posts) {
3939
if (data.handle && !parseInt(uid, 10)) {
4040
postData.handle = data.handle;
4141
}
42+
postData.anonymous = data.anonymous ? 1 : 0;
4243
if (_activitypub) {
4344
if (_activitypub.url) {
4445
postData.url = _activitypub.url;

0 commit comments

Comments
 (0)