Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Assets/Enjin Integration/Scripts/API/EnjinApiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ public void AttachHeader(UnityWebRequest request, string key, string value)
if (getManagedWalletTokensRequest.result == UnityWebRequest.Result.Success)
{
var ManagedWalletAccount = JsonUtility.FromJson<PlatformModels.ManagedWalletAccount>(getManagedWalletTokensRequest.downloadHandler.text);
Debug.Log("Managed wallet account address:" + ManagedWalletAccount.account.address + ".\nIn order to test the 'Send' and 'Melt' options, make sure to fund this wallet with some cENJ.");
return ManagedWalletAccount;
}
}
Expand Down
1 change: 1 addition & 0 deletions Assets/Enjin Integration/Scripts/Core/EnjinManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public async Task RegisterAndLogin(string email, string password)
SaveTokenToPlayerPrefs();
Debug.Log("Login successful. Token generated.");
OnLoginComplete?.Invoke(true);
GetManagedWalletTokens();
}

/// <summary>
Expand Down