Skip to content

Commit

Permalink
Merge pull request #11 from veryfi/feature/fix_document_upload
Browse files Browse the repository at this point in the history
upload document fixed up!
  • Loading branch information
androide0917 authored May 18, 2022
2 parents 04174ad + f00931a commit 88a1972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package manager for Java.
Add in your project build.gradle file the veryfi android SDK dependency:
```ruby
dependencies {
implementation 'com.veryfi:veryfi-android:1.0.1'
implementation 'com.veryfi:veryfi-android:1.0.2'
}
```

Expand Down
3 changes: 1 addition & 2 deletions android/src/main/java/com/veryfi/android/ClientImpl.kt
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ open class ClientImpl(private val clientData: ClientData) : Client {
): HttpURLConnection {
val date = Date()
val timeStamp: Long = date.time
val partnerURL = "${baseUrl}v${apiVersion}/partner"
val url = URL("$partnerURL/$endPoint/")
val url = URL("${baseUrl}v${apiVersion}/${endPoint}/")
val httpConnection = url.openConnection() as HttpURLConnection
httpConnection.requestMethod = httpVerb
httpConnection.connectTimeout = timeOut
Expand Down

0 comments on commit 88a1972

Please sign in to comment.