From 9778434e11999836ceb7a5f72d75af946cb1f4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Uribe=20Stengel?= Date: Thu, 9 Jul 2020 14:26:01 +0200 Subject: [PATCH] Remove local change of env variables. --- imports/api/plantTypes.js | 4 ++-- server/main.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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"}); });