add damus_donation to profile data model and update tests

This commit is contained in:
Bryan Montz
2023-05-26 07:02:14 -05:00
parent ea73c5252d
commit e10dc93233
4 changed files with 9 additions and 3 deletions

View File

@@ -33,7 +33,8 @@ class Profile: Codable {
website: persisted_profile.website,
lud06: persisted_profile.lud06,
lud16: persisted_profile.lud16,
nip05: persisted_profile.nip05)
nip05: persisted_profile.nip05,
damus_donation: Int(persisted_profile.damus_donation))
}
private func str(_ str: String) -> String? {