Skip to content

Commit

Permalink
fix - allow .admin value on APIPerson to be considered optional (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mormaer authored and EricBAndrews committed Sep 16, 2023
1 parent 1ab7088 commit b94ae90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mlem/API/Models/Person/APIPerson.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct APIPerson: Decodable, Identifiable, Hashable {
let deleted: Bool
let sharedInboxUrl: URL?
let matrixUserId: String?
let admin: Bool
let admin: Bool? // this is no longer returned on beehaw...
let botAccount: Bool
let banExpires: Date?
let instanceId: Int
Expand Down

0 comments on commit b94ae90

Please sign in to comment.