open-assets/imports/api/locations.js

16 lines
331 B
JavaScript
Raw Normal View History

2026-01-24 13:49:38 -06:00
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { check } from 'meteor/check';
export const Locations = new Mongo.Collection('locations');
Locations.allow({
insert: function(userId, doc){
// if use id exists, allow insert
return !!userId;
},
});
Meteor.methods({
});