aboutsummaryrefslogtreecommitdiffstats
path: root/Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift')
-rw-r--r--Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift b/Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift
index d6c0032..090e52a 100644
--- a/Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift
+++ b/Sources/WireguardAppIntents/BuildPeerConfigurationUpdate.swift
@@ -23,7 +23,7 @@ struct BuildPeerConfigurationUpdate: AppIntent {
)
var endpoint: String
- func perform() async throws -> some IntentResult {
+ func perform() async throws -> some IntentResult & ReturnsValue<AppIntentsPeer> {
let peerConfigurationUpdate = AppIntentsPeer()
peerConfigurationUpdate.publicKey = publicKey
peerConfigurationUpdate.endpoint = endpoint