mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
initial commit
This commit is contained in:
parent
b7c7d8b449
commit
750811a81f
52 changed files with 25204 additions and 92 deletions
18
server/publish.js
Normal file
18
server/publish.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { SysConfig } from '../imports/api/systemConfig.js';
|
||||
import { ServiceEntities } from '../imports/api/serviceentities.js';
|
||||
|
||||
Meteor.publish("SystemConfig", function() {
|
||||
try {
|
||||
return SysConfig.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling system config data: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("ServiceEntities", function() {
|
||||
try {
|
||||
return ServiceEntities.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling Service Entity data: " + error);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue