Skip to content

Commit 0b916c5

Browse files
Change order and name of parameters in Client constructor
1 parent 2d150a3 commit 0b916c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

XMedius.SendSecure/Client.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ public class Client
1919
private static readonly string USER_TOKEN_PATH = "api/user_token";
2020

2121
private string EnterpriseAccount;
22-
private string Token;
22+
private string ApiToken;
2323
private Uri EndPoint;
2424
private JsonClient JsonClient;
2525
private string Locale;
2626

27-
public Client(string token, Uri endpoint, string enterpriseAccount, string locale = "en")
27+
public Client(string apiToken, string enterpriseAccount, Uri endpoint, string locale = "en")
2828
{
2929
EnterpriseAccount = enterpriseAccount;
30-
Token = token;
30+
ApiToken = apiToken;
3131
EndPoint = endpoint;
3232
Locale = locale;
33-
JsonClient = new JsonClient(Token, EnterpriseAccount, EndPoint);
33+
JsonClient = new JsonClient(ApiToken, EnterpriseAccount, EndPoint);
3434
}
3535

3636
public static async Task<string> GetUserToken(string enterpriseAccount, string username, string password, string deviceId,

0 commit comments

Comments
 (0)