fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
33100758b8
commit
c5281fa390
@ -33,7 +33,7 @@ public extension TemplateProtocol {
|
||||
guard let pageJSON = json else { return }
|
||||
let delegateObject = (self as? MVMCoreViewControllerProtocol)?.delegateObject?() as? MVMCoreUIDelegateObject
|
||||
let data = try JSONSerialization.data(withJSONObject: pageJSON)
|
||||
let decoder = try JSONDecoder.create(delegateObject: delegateObjectIVar)
|
||||
let decoder = try JSONDecoder.create(delegateObject: delegateObject)
|
||||
templateModel = try decodeTemplate(using: decoder, from: data)
|
||||
|
||||
// Add additional required behaviors if applicable.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user