Skip to content

Commit 2ba2738

Browse files
committed
change return type
1 parent 3a201ff commit 2ba2738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-auth-rest/core/src/main/java/com/anotherdev/firebase/auth/rest/api/IdentityToolkitApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
import com.anotherdev.firebase.auth.UserProfileChangeRequest;
55
import com.anotherdev.firebase.auth.UserProfileChangeResponse;
66
import com.anotherdev.firebase.auth.rest.api.model.GetAccountInfoRequest;
7+
import com.anotherdev.firebase.auth.rest.api.model.GetAccountInfoResponse;
78
import com.anotherdev.firebase.auth.rest.api.model.SendPasswordResetEmailRequest;
89
import com.anotherdev.firebase.auth.rest.api.model.SendPasswordResetEmailResponse;
910
import com.anotherdev.firebase.auth.rest.api.model.SignInRequest;
1011
import com.anotherdev.firebase.auth.rest.api.model.SignInWithCustomTokenRequest;
1112
import com.anotherdev.firebase.auth.rest.api.model.SignInWithEmailPasswordRequest;
1213
import com.anotherdev.firebase.auth.rest.api.model.SignInWithIdpRequest;
1314
import com.anotherdev.firebase.auth.rest.api.model.UserPasswordChangeRequest;
14-
import com.google.gson.JsonObject;
1515

1616
import io.reactivex.rxjava3.core.Single;
1717
import retrofit2.http.Body;
@@ -42,7 +42,7 @@ public interface IdentityToolkitApi {
4242
Single<SendPasswordResetEmailResponse> sendPasswordResetEmail(@Body SendPasswordResetEmailRequest request);
4343

4444
@POST("v1/accounts:lookup")
45-
Single<JsonObject> getAccounts(@Body GetAccountInfoRequest request);
45+
Single<GetAccountInfoResponse> getAccounts(@Body GetAccountInfoRequest request);
4646

4747
@POST("v1/accounts:update")
4848
Single<UserProfileChangeResponse> updateProfile(@Body UserProfileChangeRequest request);

0 commit comments

Comments
 (0)