Fix some random minor typos. (#3157)

This commit is contained in:
Arthur Cinader
2016-12-01 17:34:39 -08:00
committed by Florent Vilmart
parent 2b0c39caaa
commit 8359284329
2 changed files with 4 additions and 4 deletions

View File

@@ -883,7 +883,7 @@ DatabaseController.prototype.addPointerPermissions = function(schema, className,
// TODO: create indexes on first creation of a _User object. Otherwise it's impossible to
// have a Parse app without it having a _User collection.
DatabaseController.prototype.performInitizalization = function() {
DatabaseController.prototype.performInitialization = function() {
const requiredUserFields = { fields: { ...SchemaController.defaultColumns._Default, ...SchemaController.defaultColumns._User } };
let userClassPromise = this.loadSchema()

View File

@@ -166,7 +166,7 @@ class ParseServer {
// Pass the push options too as it works with the default
const pushControllerAdapter = loadAdapter(push && push.adapter, ParsePushAdapter, push || {});
// We pass the options and the base class for the adatper,
// We pass the options and the base class for the adapter,
// Note that passing an instance would work too
const pushController = new PushController(pushControllerAdapter, appId, push);
@@ -183,7 +183,7 @@ class ParseServer {
const databaseController = new DatabaseController(databaseAdapter, new SchemaCache(cacheController, schemaCacheTTL, enableSingleSchemaCache));
const hooksController = new HooksController(appId, databaseController, webhookKey);
const dbInitPromise = databaseController.performInitizalization();
const dbInitPromise = databaseController.performInitialization();
AppCache.put(appId, {
appId,
@@ -225,7 +225,7 @@ class ParseServer {
enableSingleSchemaCache
});
// To maintain compatibility. TODO: Remove in some version that breaks backwards compatability
// To maintain compatibility. TODO: Remove in some version that breaks backwards compatibility
if (process.env.FACEBOOK_APP_ID) {
AppCache.get(appId)['facebookAppIds'].push(process.env.FACEBOOK_APP_ID);
}