Skip to content

Commit 01c6dd1

Browse files
Arthur CinaderRafael Santos
Arthur Cinader
authored and
Rafael Santos
committed
Fix some random minor typos. (parse-community#3157)
1 parent 1563017 commit 01c6dd1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Controllers/DatabaseController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ DatabaseController.prototype.addPointerPermissions = function(schema, className,
883883

884884
// TODO: create indexes on first creation of a _User object. Otherwise it's impossible to
885885
// have a Parse app without it having a _User collection.
886-
DatabaseController.prototype.performInitizalization = function() {
886+
DatabaseController.prototype.performInitialization = function() {
887887
const requiredUserFields = { fields: { ...SchemaController.defaultColumns._Default, ...SchemaController.defaultColumns._User } };
888888

889889
let userClassPromise = this.loadSchema()

src/ParseServer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class ParseServer {
166166

167167
// Pass the push options too as it works with the default
168168
const pushControllerAdapter = loadAdapter(push && push.adapter, ParsePushAdapter, push || {});
169-
// We pass the options and the base class for the adatper,
169+
// We pass the options and the base class for the adapter,
170170
// Note that passing an instance would work too
171171
const pushController = new PushController(pushControllerAdapter, appId, push);
172172

@@ -183,7 +183,7 @@ class ParseServer {
183183
const databaseController = new DatabaseController(databaseAdapter, new SchemaCache(cacheController, schemaCacheTTL, enableSingleSchemaCache));
184184
const hooksController = new HooksController(appId, databaseController, webhookKey);
185185

186-
const dbInitPromise = databaseController.performInitizalization();
186+
const dbInitPromise = databaseController.performInitialization();
187187

188188
AppCache.put(appId, {
189189
appId,
@@ -225,7 +225,7 @@ class ParseServer {
225225
enableSingleSchemaCache
226226
});
227227

228-
// To maintain compatibility. TODO: Remove in some version that breaks backwards compatability
228+
// To maintain compatibility. TODO: Remove in some version that breaks backwards compatibility
229229
if (process.env.FACEBOOK_APP_ID) {
230230
AppCache.get(appId)['facebookAppIds'].push(process.env.FACEBOOK_APP_ID);
231231
}

0 commit comments

Comments
 (0)