Skip to content

Commit 2451894

Browse files
committed
Merge branch '265-error-handling' of github.com:watson-developer-cloud/unity-sdk into 265-error-handling
2 parents 3c8ae13 + 1d6cee7 commit 2451894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Examples/ServiceExamples/Scripts/ExampleCallback.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ void Start()
5151
discovery.VersionDate = "2016-12-01";
5252

5353
// Call with generic callbacks
54-
conversation.Message(OnSuccess, OnMessageFail, _workspaceId, "");
54+
conversation.Message(OnSuccess, OnFail, _workspaceId, "");
5555
discovery.GetEnvironments(OnSuccess, OnFail);
5656

5757
// Call with sepcific callbacks
58-
conversation.Message(OnMessage, OnGetEnvironmentsFail, _workspaceId, "");
59-
discovery.GetEnvironments(OnGetEnvironments, OnFail);
58+
conversation.Message(OnMessage, OnMessageFail, _workspaceId, "");
59+
discovery.GetEnvironments(OnGetEnvironments, OnGetEnvironmentsFail);
6060
}
6161

6262
// Generic success callback

0 commit comments

Comments
 (0)