open-health/imports/api/userInfo.js
2025-12-06 15:44:43 -06:00

16 lines
No EOL
328 B
JavaScript

import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { check } from 'meteor/check';
export const UserInfo = new Mongo.Collection('userInfo');
UserInfo.allow({
insert: function(userId, doc){
// if use id exists, allow insert
return !!userId;
},
});
Meteor.methods({
});