Skip to content

Commit 7483a5e

Browse files
committed
I don't think its a good idea for these to be static. Can multple logged in reddit instances be switching back and forth and this still work?
1 parent 06d642d commit 7483a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RedditSharp/AuthProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ public class AuthProvider
2222
/// <summary>
2323
/// OAuth2 token.
2424
/// </summary>
25-
public static string OAuthToken { get; set; }
25+
public string OAuthToken { get; set; }
2626

2727
/// <summary>
2828
/// OAuth2 refresh token.
2929
/// </summary>
30-
public static string RefreshToken { get; set; }
30+
public string RefreshToken { get; set; }
3131

3232
#pragma warning disable 1591
3333
[Flags]

0 commit comments

Comments
 (0)