Skip to content

Commit

Permalink
Fix some random minor typos. (#3157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Cinader authored and flovilmart committed Dec 2, 2016
1 parent 2b0c39c commit 8359284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Controllers/DatabaseController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions src/ParseServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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,
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 8359284

Please sign in to comment.