diff --git a/FireSharp/FirebaseClient.cs b/FireSharp/FirebaseClient.cs index ffb687a..86f7708 100644 --- a/FireSharp/FirebaseClient.cs +++ b/FireSharp/FirebaseClient.cs @@ -190,7 +190,7 @@ public async Task PushAsync(string path, T data) } } - public FirebaseResponse ResetPassword(string email, string password) + public FirebaseResponse ResetPassword(string email) { /* /v2/luminous-heat-7934/users/tedwards@hachisoft.com/password?&email=tedwards%40hachisoft.com&_method=POST&v=node-2.3.2&transport=json&suppress_status_codes=true diff --git a/FireSharp/Interfaces/IFirebaseClient.cs b/FireSharp/Interfaces/IFirebaseClient.cs index e99f587..7d625f1 100644 --- a/FireSharp/Interfaces/IFirebaseClient.cs +++ b/FireSharp/Interfaces/IFirebaseClient.cs @@ -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.")] diff --git a/FireSharp/Response/EventStreamResponse.cs b/FireSharp/Response/EventStreamResponse.cs index 5ec26bc..ed88dd0 100644 --- a/FireSharp/Response/EventStreamResponse.cs +++ b/FireSharp/Response/EventStreamResponse.cs @@ -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