Skip to content

Commit

Permalink
Fix the /link endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
oliexe committed Mar 26, 2024
1 parent 28a9fce commit 5b1a966
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Stash/Scripts/Core/StashClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task<LinkResponse> LinkAccount(string challenge, string play
// Create the request body with the challenge and internal user id
var requestBody = new LinkBody()
{
code_challenge = challenge,
codeChallenge = challenge,
user = new LinkBody.User
{
id = playerId
Expand Down
2 changes: 1 addition & 1 deletion Assets/Stash/Scripts/Models/LinkBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Stash.Models
[Serializable]
public class LinkBody
{
public string code_challenge;
public string codeChallenge;
public User user;

[Serializable]
Expand Down
2 changes: 2 additions & 0 deletions ProjectSettings/GvhProjectSettings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<projectSettings>
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
</projectSettings>

0 comments on commit 5b1a966

Please sign in to comment.