Skip to content

Commit

Permalink
Update User.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
s0phialiu authored Feb 21, 2024
1 parent ed972ee commit 6648346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HIAPI/Models/User.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Foundation

public struct User: Codable, APIReturnable {
public let userId: String
public let email: String?
public let email: String? // Email should be an optional field because not every GH account has their email set to public
}

public struct RolesContainer: Codable, APIReturnable {
Expand Down

0 comments on commit 6648346

Please sign in to comment.