Skip to content

Commit f5fa0c4

Browse files
committed
fix parameter type
1 parent 2a4423a commit f5fa0c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.anotherdev.firebase.auth.UserProfileChangeRequest;
55
import com.anotherdev.firebase.auth.rest.api.model.IdTokenRequest;
66
import com.anotherdev.firebase.auth.rest.api.model.SignInRequest;
7+
import com.anotherdev.firebase.auth.rest.api.model.SignInWithCustomTokenRequest;
78
import com.anotherdev.firebase.auth.rest.api.model.SignInWithEmailPasswordRequest;
89
import com.anotherdev.firebase.auth.rest.api.model.SignInWithIdpRequest;
910
import com.anotherdev.firebase.auth.rest.api.model.UserPasswordChangeRequest;
@@ -32,7 +33,7 @@ public interface IdentityToolkitApi {
3233
Single<SignInResponse> signInWithCredential(@Body SignInWithIdpRequest request);
3334

3435
@POST("v1/accounts:signInWithCustomToken")
35-
Single<SignInResponse> signInWithCustomToken(@Body SignInRequest request);
36+
Single<SignInResponse> signInWithCustomToken(@Body SignInWithCustomTokenRequest request);
3637

3738
@POST("v1/accounts:lookup")
3839
Single<JsonObject> getAccounts(@Body IdTokenRequest request);

0 commit comments

Comments
 (0)