From aff3d52fe8ccf6c4b9087b8efb18cfe9f1a2858f Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Tue, 6 Sep 2022 19:55:16 +0530 Subject: [PATCH] Adding actiontype attribute to encode in OpenPage action class --- MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift b/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift index 611b7b7..34308ef 100644 --- a/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift +++ b/MVMCore/MVMCore/ActionHandling/ActionOpenPageModel.swift @@ -98,6 +98,7 @@ public struct ActionOpenPageModel: ActionModelProtocol, ActionOpenPageProtocol, public func encode(to encoder: Encoder) throws { var container = encoder.container(keyedBy: CodingKeys.self) try container.encode(pageType, forKey: .pageType) + try container.encode(actionType, forKey: .actionType) try container.encodeIfPresent(baseURL, forKey: .baseURL) try container.encodeIfPresent(appContext, forKey: .appContext) try container.encodeIfPresent(requestURL, forKey: .requestURL)