diff --git a/imports/api/plantTypes.js b/imports/api/plantTypes.js index 25dc884..dda78b8 100644 --- a/imports/api/plantTypes.js +++ b/imports/api/plantTypes.js @@ -1,3 +1,3 @@ -import { Mongo } from 'meteor/mongo'; +import { Meteor } from 'meteor/meteor'; -export const PlantTypesCollection = new Mongo.Collection('plantTypes'); +export const PlantTypesCollection = new Meteor.Collection('plantTypes'); diff --git a/server/main.js b/server/main.js index e96edc8..dc53949 100644 --- a/server/main.js +++ b/server/main.js @@ -2,7 +2,6 @@ import { Meteor } from 'meteor/meteor'; import { PlantTypesCollection } from '/imports/api/plantTypes'; Meteor.startup(() => { - process.env.MONGO_URL = "mongodb://garden:99009911@cloud.timovolkmann.de:27017/Smart_Garden"; PlantTypesCollection.insert({plantType: "BAUM"}); });