<commit_before>import { Meteor } from 'meteor/meteor';

/*
Meteor.publish("userLoggings", function () {
    if (this.userId) {
        return Meteor.users.find({_id: this.userId},
                                 {fields: {'userLoggings': 1, _id : 0}});
    } else {
        this.ready();
    }
});
*/<commit_msg>Minor changes in api/accounts publications<commit_after>import { Meteor } from 'meteor/meteor';

Meteor.publish("user-loggings", function () {
    if (this.userId) {
        return Meteor.users.find({_id: this.userId},{fields: {'loggings': 1, _id : 0}});
    } else {
        this.ready();
    }
});
{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 2.6272189349112427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5926037', 'n_tokens_mistral': 219, 'n_tokens_neox': 208, 'n_words': 39}