Author: Not specified Language: javascript
Description: (v24) Timestamp: 2018-06-12 22:40:01 +0000
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply
  1. return user.save(on: req).catchFlatMap { error -> User in
  2.     print("Error saving the user: \(error)")
  3.     return User(name: "Default User").save()
  4. }
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply