mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-26 15:58:50 +00:00
18 lines
No EOL
524 B
JavaScript
18 lines
No EOL
524 B
JavaScript
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);
|
|
}
|
|
}); |