Skip to content
Snippets Groups Projects

Fix GetNotificationsReport

Merged Dariusz Rybicki requested to merge fix/get-notifications-report into development
2 files
+ 49
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -45,3 +45,13 @@ extension NotificationReport: Codable {
try JSONEncoder().encode(self)
}
}
extension Array where Element == NotificationReport {
public static func decode(_ data: Data) throws -> Self {
try JSONDecoder().decode(Self.self, from: data)
}
public func encode() throws -> Data {
try JSONEncoder().encode(self)
}
}
Loading