Skip to content

Commit

Permalink
Update Attendee.swift
Browse files Browse the repository at this point in the history
Make email required
  • Loading branch information
s0phialiu committed Feb 21, 2024
1 parent 6648346 commit 9dabb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HIAPI/Models/Attendee.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct Attendee: Codable, APIReturnable {
public let id: String
public let firstName: String?
public let lastName: String?
public let email: String? // Email should be an optional field because not every GH account has their email set to public
public let email: String
public let graduationYear: Int
public let school: String
public let major: String
Expand Down

0 comments on commit 9dabb15

Please sign in to comment.