Skip to content

Commit 5ab0e50

Browse files
authored
Merge pull request #33 from TaloDev/patch-alias
Use player alias id when updating the player
2 parents 5f545e7 + b49ded3 commit 5ab0e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.trytalo.talo/Runtime/PlayersAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public async Task Identify(string service, string identifier)
2222

2323
public async void Update()
2424
{
25-
var uri = new Uri(baseUrl + $"/{Talo.CurrentPlayer.id}");
25+
var uri = new Uri(baseUrl + $"/{Talo.CurrentAlias.id}");
2626
var content = JsonUtility.ToJson(Talo.CurrentPlayer);
2727

2828
var json = await Call(uri, "PATCH", content);

0 commit comments

Comments
 (0)