Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!142
Fix GetNotificationsReport
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix GetNotificationsReport
fix/get-notifications-report
into
development
Overview
0
Commits
4
Pipelines
0
Changes
6
Merged
Dariusz Rybicki
requested to merge
fix/get-notifications-report
into
development
2 years ago
Overview
0
Commits
4
Pipelines
0
Changes
6
Expand
XXClient
Add
NotificationReport
array coding helpers.
Fix GetNotificationsReport` so it returns array.
XXMessengerClient
Update
MessengerGetNotificationReport
.
Rename
MessengerGetNotificationReport
to
MessengerGetNotificationReports
.
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
20f41917
4 commits,
2 years ago
6 files
+
79
−
24
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
Sources/XXClient/Functions/GetNotificationsReport.swift
+
3
−
3
Options
@@ -2,12 +2,12 @@ import Bindings
@@ -2,12 +2,12 @@ import Bindings
import
XCTestDynamicOverlay
import
XCTestDynamicOverlay
public
struct
GetNotificationsReport
{
public
struct
GetNotificationsReport
{
public
var
run
:
(
String
,
MessageServiceList
)
throws
->
NotificationReport
public
var
run
:
(
String
,
MessageServiceList
)
throws
->
[
NotificationReport
]
public
func
callAsFunction
(
public
func
callAsFunction
(
notificationCSV
:
String
,
notificationCSV
:
String
,
services
:
MessageServiceList
services
:
MessageServiceList
)
throws
->
NotificationReport
{
)
throws
->
[
NotificationReport
]
{
try
run
(
notificationCSV
,
services
)
try
run
(
notificationCSV
,
services
)
}
}
}
}
@@ -26,7 +26,7 @@ extension GetNotificationsReport {
@@ -26,7 +26,7 @@ extension GetNotificationsReport {
guard
let
result
=
result
else
{
guard
let
result
=
result
else
{
fatalError
(
"BindingsGetNotificationsReport returned nil without providing error"
)
fatalError
(
"BindingsGetNotificationsReport returned nil without providing error"
)
}
}
return
try
NotificationReport
.
decode
(
result
)
return
try
[
NotificationReport
]
.
decode
(
result
)
}
}
}
}
Loading