Skip to content

Fix some random minor typos. #3157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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