From a3130345712b4ef56289e08132ac37fc357e8b95 Mon Sep 17 00:00:00 2001 From: shoe116 Date: Sun, 28 Feb 2016 15:40:33 +0900 Subject: [PATCH] addParseCloud in ParseServer init function --- src/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index ad715902f5..fa93f49987 100644 --- a/src/index.js +++ b/src/index.js @@ -40,8 +40,6 @@ import { HooksController } from './Controllers/HooksController'; import requiredParameter from './requiredParameter'; import { randomString } from './cryptoUtils'; -// Mutate the Parse object to add the Cloud Code handlers -addParseCloud(); // ParseServer works like a constructor of an express app. // The args that we understand are: @@ -210,7 +208,8 @@ function ParseServer({ } }); hooksController.load(); - + // Mutate the Parse object to add the Cloud Code handlers + addParseCloud(); return api; }