@@ -269,7 +269,7 @@ Cloud Code Functions can also take parameters. It's recommended to place all par
269269// A simple Parse Hook Function route that returns "Hello World".
270270app.post (" hello" ,
271271 name : " hello" ) { req async throws -> ParseHookResponse< String > in
272- // Note that `ParseHookResponse<String>` means a "successfull "
272+ // Note that `ParseHookResponse<String>` means a "successful "
273273 // response will return a "String" type.
274274 if let error: ParseHookResponse< String > = checkHeaders (req) {
275275 return error
@@ -297,7 +297,7 @@ app.post("hello",
297297app.post (" score" , " save" , " before" ,
298298 object : GameScore.self ,
299299 trigger : .beforeSave ) { req async throws -> ParseHookResponse< GameScore> in
300- // Note that `ParseHookResponse<GameScore>` means a "successfull "
300+ // Note that `ParseHookResponse<GameScore>` means a "successful "
301301 // response will return a "GameScore" type.
302302 if let error: ParseHookResponse< GameScore> = checkHeaders (req) {
303303 return error
@@ -325,7 +325,7 @@ app.post("score", "save", "before",
325325app.post (" score" , " find" , " before" ,
326326 object : GameScore.self ,
327327 trigger : .beforeFind ) { req async throws -> ParseHookResponse< [GameScore]> in
328- // Note that `ParseHookResponse<[GameScore]>` means a "successfull "
328+ // Note that `ParseHookResponse<[GameScore]>` means a "successful "
329329 // response will return a "[GameScore]" type.
330330 if let error: ParseHookResponse< [GameScore]> = checkHeaders (req) {
331331 return error
@@ -352,7 +352,7 @@ app.post("score", "find", "before",
352352app.post (" user" , " login" , " after" ,
353353 object : User.self ,
354354 trigger : .afterLogin ) { req async throws -> ParseHookResponse< Bool > in
355- // Note that `ParseHookResponse<Bool>` means a "successfull "
355+ // Note that `ParseHookResponse<Bool>` means a "successful "
356356 // response will return a "Bool" type. Bool is the standard response with
357357 // a "true" response meaning everything is okay or continue.
358358 if let error: ParseHookResponse< Bool > = checkHeaders (req) {
@@ -368,7 +368,7 @@ app.post("user", "login", "after",
368368// A Parse Hook Trigger route for `ParseFile`.
369369app.on (" file" , " save" , " before" ,
370370 trigger : .beforeSave ) { req async throws -> ParseHookResponse< Bool > in
371- // Note that `ParseHookResponse<Bool>` means a "successfull "
371+ // Note that `ParseHookResponse<Bool>` means a "successful "
372372 // response will return a "Bool" type. Bool is the standard response with
373373 // a "true" response meaning everything is okay or continue. Sending "false"
374374 // in this case will reject saving the file.
@@ -385,7 +385,7 @@ app.on("file", "save", "before",
385385// Another Parse Hook Trigger route for `ParseFile`.
386386app.post (" file" , " delete" , " before" ,
387387 trigger : .beforeDelete ) { req async throws -> ParseHookResponse< Bool > in
388- // Note that `ParseHookResponse<Bool>` means a "successfull "
388+ // Note that `ParseHookResponse<Bool>` means a "successful "
389389 // response will return a "Bool" type. Bool is the standard response with
390390 // a "true" response meaning everything is okay or continue.
391391 if let error: ParseHookResponse< Bool > = checkHeaders (req) {
@@ -401,7 +401,7 @@ app.post("file", "delete", "before",
401401// A Parse Hook Trigger route for `ParseLiveQuery`.
402402app.post (" connect" , " before" ,
403403 trigger : .beforeConnect ) { req async throws -> ParseHookResponse< Bool > in
404- // Note that `ParseHookResponse<Bool>` means a "successfull "
404+ // Note that `ParseHookResponse<Bool>` means a "successful "
405405 // response will return a "Bool" type. Bool is the standard response with
406406 // a "true" response meaning everything is okay or continue.
407407 if let error: ParseHookResponse< Bool > = checkHeaders (req) {
@@ -418,7 +418,7 @@ app.post("connect", "before",
418418app.post (" score" , " subscribe" , " before" ,
419419 object : GameScore.self ,
420420 trigger : .beforeSubscribe ) { req async throws -> ParseHookResponse< Bool > in
421- // Note that `ParseHookResponse<Bool>` means a "successfull "
421+ // Note that `ParseHookResponse<Bool>` means a "successful "
422422 // response will return a "Bool" type. Bool is the standard response with
423423 // a "true" response meaning everything is okay or continue.
424424 if let error: ParseHookResponse< Bool > = checkHeaders (req) {
@@ -435,7 +435,7 @@ app.post("score", "subscribe", "before",
435435app.post (" score" , " event" , " after" ,
436436 object : GameScore.self ,
437437 trigger : .afterEvent ) { req async throws -> ParseHookResponse< Bool > in
438- // Note that `ParseHookResponse<Bool>` means a "successfull "
438+ // Note that `ParseHookResponse<Bool>` means a "successful "
439439 // response will return a "Bool" type. Bool is the standard response with
440440 // a "true" response meaning everything is okay or continue.
441441 if let error: ParseHookResponse< Bool > = checkHeaders (req) {
0 commit comments