From 3739812379a93eb936ca2384d7e04fa838f67ba9 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Mon, 15 Aug 2022 17:46:02 -0400 Subject: [PATCH] class to struct --- MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift b/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift index c51b3fd..611b7b7 100644 --- a/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift +++ b/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift @@ -69,7 +69,7 @@ public struct ActionOpenPageModel: ActionModelProtocol, ActionOpenPageProtocol, case customTimeoutTime } - required public init(from decoder: Decoder) throws { + public init(from decoder: Decoder) throws { let typeContainer = try decoder.container(keyedBy: CodingKeys.self) pageType = try typeContainer.decode(String.self, forKey: .pageType) baseURL = try typeContainer.decodeIfPresent(URL.self, forKey: .baseURL)