mondora/mondora-website-back

View on GitHub
server/models/userLogs/methods.js

Summary

Maintainability
A
0 mins
Test Coverage
Meteor.methods({

    addUserLog: function (details) {
        UserLogs.insert({
            userId: Meteor.userId() || "anonymous",
            date: Date.now(),
            details: details
        });
    }

});