From 3e1be68ad471341ce1f325a00a40dd9623e02100 Mon Sep 17 00:00:00 2001 From: Joel Carter Date: Thu, 21 Nov 2024 15:12:27 -0600 Subject: [PATCH] Reverse DNS precedence --- Sources/XyoClient/Panel/Panel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XyoClient/Panel/Panel.swift b/Sources/XyoClient/Panel/Panel.swift index a5019fd..04d104f 100644 --- a/Sources/XyoClient/Panel/Panel.swift +++ b/Sources/XyoClient/Panel/Panel.swift @@ -25,8 +25,8 @@ public class XyoPanel { public convenience init( account: AccountInstance? = nil, witnesses: [WitnessModule] = [], - archive: String = XyoArchivistApiClient.DefaultArchivist, - apiDomain: String = XyoArchivistApiClient.DefaultApiDomain + apiDomain: String = XyoArchivistApiClient.DefaultApiDomain, + archive: String = XyoArchivistApiClient.DefaultArchivist ) { let panelAccount = account ?? Account.random() let apiConfig = XyoArchivistApiConfig(archive, apiDomain)