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