Skip to content

Commit

Permalink
Fixed typo in var name (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
keirk authored and mozts2005 committed Mar 30, 2017
1 parent 18286eb commit ce9f810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZendeskApi_v2.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ static void Main(string[] args)
static async Task MainAsync(string email)
{

string userEmailToSreachFor = "eneif123@yahoo.com";
string userEmailToSearchFor = "eneif123@yahoo.com";

string userName = "eric.neifert@gmail.com"; // the user that will be logging in the API aka the call center staff
string userPassword = "pa55word";
string companySubDomain = "csharpapi"; // sub-domain for the account with Zendesk
int pageSize = 5;
var api = new ZendeskApi(companySubDomain, userName, userPassword);

var userResponse = api.Search.SearchFor<User>(userEmailToSreachFor);
var userResponse = api.Search.SearchFor<User>(userEmailToSearchFor);

long userId = userResponse.Results[0].Id.Value;
List<Ticket> tickets = new List<Ticket>();
Expand Down

0 comments on commit ce9f810

Please sign in to comment.