Skip to content

Commit

Permalink
com.utilities.rest 2.4.3 (RageAgainstThePixel#59)
Browse files Browse the repository at this point in the history
- Fixed auth reverse order loading precedence
  • Loading branch information
StephenHodgson committed Dec 30, 2023
1 parent d41fe92 commit 26d03c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Runtime/AbstractAuthentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public virtual TAuthentication LoadDefault()
public virtual TAuthentication LoadDefaultsReversed()
=> LoadFromEnvironment() ??
LoadFromDirectory(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)) ??
LoadFromAsset() ??
LoadFromDirectory();
LoadFromDirectory() ??
LoadFromAsset();

[Obsolete("Use LoadFromAsset (remove angle bracket type specification)")]
public TAuthentication LoadFromAsset<T>() => LoadFromAsset();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Utilities.Rest",
"description": "This package contains useful RESTful utilities for the Unity Game Engine.",
"keywords": [],
"version": "2.4.2",
"version": "2.4.3",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest/releases",
Expand Down

0 comments on commit 26d03c5

Please sign in to comment.