Skip to content
Snippets Groups Projects
Commit 84105b1b authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Refactor GetNotificationsReport.live func into let

parent b63f86c4
Branches
Tags
2 merge requests!138Notifications,!102Release 1.0.0
......@@ -14,8 +14,8 @@ public struct GetNotificationsReport {
}
extension GetNotificationsReport {
public static func live() -> GetNotificationsReport {
GetNotificationsReport { e2eId, notificationCSV, services in
public static let live = GetNotificationsReport {
e2eId, notificationCSV, services in
var error: NSError?
let result = BindingsGetNotificationsReport(
e2eId,
......@@ -32,7 +32,6 @@ extension GetNotificationsReport {
return try NotificationReport.decode(result)
}
}
}
extension GetNotificationsReport {
public static let unimplemented = GetNotificationsReport(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment