Skip to content

Commit

Permalink
ES-2162: Use constant for v5_3 version path (#6187)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkolomeyko authored Jun 6, 2024
1 parent 4550642 commit 0fb85a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.corda.restclient

import net.corda.rest.annotations.RestApiVersion
import net.corda.restclient.generated.apis.CPIApi
import net.corda.restclient.generated.apis.CertificateApi
import net.corda.restclient.generated.apis.ConfigurationApi
Expand Down Expand Up @@ -55,7 +56,7 @@ class CordaRestClient(
) {

companion object {
private const val API_VERSION = "/api/v5_3"
private val API_VERSION = "/api/${RestApiVersion.C5_3.versionPath}"

/**
* Create an instance of CordaRestClient with the given baseUrl, username and password.
Expand Down

0 comments on commit 0fb85a7

Please sign in to comment.