Skip to content

Commit

Permalink
Finalize the api calls for user management
Browse files Browse the repository at this point in the history
  • Loading branch information
tillerstarredwards committed May 10, 2016
1 parent ba4af5f commit 314ac47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FireSharp/FirebaseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public async Task<PushResponse> PushAsync<T>(string path, T data)
}
}

public FirebaseResponse ResetPassword(string email, string password)
public FirebaseResponse ResetPassword(string email)
{
/*
/v2/luminous-heat-7934/users/[email protected]/password?&email=tedwards%40hachisoft.com&_method=POST&v=node-2.3.2&transport=json&suppress_status_codes=true
Expand Down
2 changes: 1 addition & 1 deletion FireSharp/Interfaces/IFirebaseClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public interface IFirebaseClient
FirebaseResponse CreateUser(string email, string password);
FirebaseResponse ChangeEmail(string oldEmail, string password, string newEmail);
FirebaseResponse RemoveUser(string email, string password);
FirebaseResponse ResetPassword(string email, string password);
FirebaseResponse ResetPassword(string email);
FirebaseResponse ChangePassword(string email, string oldPassword, string newPassword);

[Obsolete("This method is obsolete use OnAsync instead.")]
Expand Down
2 changes: 1 addition & 1 deletion FireSharp/Response/EventStreamResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ await Task.Factory.StartNew(async () =>
throw new InvalidOperationException("Payload data was received but an event did not preceed it.");
}

Update(eventName, read.Substring(6));
await Update(eventName, read.Substring(6));
}
}
// start over
Expand Down

0 comments on commit 314ac47

Please sign in to comment.