From 9ec2deba8375a764b558d48f72cc8fd296da105c Mon Sep 17 00:00:00 2001 From: jonathanswong Date: Tue, 30 Jul 2019 10:12:25 -0700 Subject: [PATCH] Fix reference to self. --- Sources/BrazeCommand.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/BrazeCommand.swift b/Sources/BrazeCommand.swift index 8fecf33..ba3384f 100644 --- a/Sources/BrazeCommand.swift +++ b/Sources/BrazeCommand.swift @@ -150,9 +150,7 @@ public class BrazeCommand { } public func remoteCommand() -> TealiumRemoteCommand { - return TealiumRemoteCommand(commandId: "braze", description: "Braze Remote Command") { [weak self] response in - guard let self = self else { return } - + return TealiumRemoteCommand(commandId: "braze", description: "Braze Remote Command") { response in let payload = response.payload() guard let command = payload[AppboyKey.command] as? String else { return