File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -345,9 +345,9 @@ internal extension API.Command {
345
345
346
346
// MARK: Saving ParseObjects
347
347
static func save< T> ( _ object: T ) throws -> API . Command < T , T > where T: ParseObject {
348
- if ParseSwift . configuration. allowCustomObjectId && object. objectId == nil {
349
- throw ParseError ( code: . missingObjectId, message: " objectId must not be nil " )
350
- }
348
+ // if ParseSwift.configuration.allowCustomObjectId && object.objectId == nil {
349
+ // throw ParseError(code: .missingObjectId, message: "objectId must not be nil")
350
+ // }
351
351
if object. isSaved {
352
352
return update ( object)
353
353
}
Original file line number Diff line number Diff line change @@ -516,9 +516,9 @@ extension ParseInstallation {
516
516
}
517
517
518
518
func saveCommand( ) throws -> API . Command < Self , Self > {
519
- if ParseSwift . configuration. allowCustomObjectId && objectId == nil {
520
- throw ParseError ( code: . missingObjectId, message: " objectId must not be nil " )
521
- }
519
+ // if ParseSwift.configuration.allowCustomObjectId && objectId == nil {
520
+ // throw ParseError(code: .missingObjectId, message: "objectId must not be nil")
521
+ // }
522
522
if isSaved {
523
523
return updateCommand ( )
524
524
}
Original file line number Diff line number Diff line change @@ -885,9 +885,9 @@ extension ParseUser {
885
885
}
886
886
887
887
func saveCommand( ) throws -> API . Command < Self , Self > {
888
- if ParseSwift . configuration. allowCustomObjectId && objectId == nil {
889
- throw ParseError ( code: . missingObjectId, message: " objectId must not be nil " )
890
- }
888
+ // if ParseSwift.configuration.allowCustomObjectId && objectId == nil {
889
+ // throw ParseError(code: .missingObjectId, message: "objectId must not be nil")
890
+ // }
891
891
if isSaved {
892
892
return updateCommand ( )
893
893
}
You can’t perform that action at this time.
0 commit comments