Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "message": "The given data was invalid.",
- "errors": {
- "first_name": [
- "The first name field is required."
- ],
- "last_name": [
- "The last name field is required."
- ],
- "email": [
- "The email field is required."
- ],
- "password": [
- "The password field is required."
- ],
- "dob": [
- "The dob field is required."
- ]
- }
- }
- struct AuthError: Codable {
- let error: String?
- let errors: APIError
- let message: String
- }
- struct APIError: Codable {
- let email: [String]?
- let dob: [String]?
- let first_name: [String]?
- let last_name: [String]?
- let password: [String]?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement