Skip to content

Commit

Permalink
fix string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed May 7, 2024
1 parent 548b442 commit 9b995b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ case class TriplestoreServiceLive(

val formParams = new util.ArrayList[NameValuePair]()
formParams.add(new BasicNameValuePair("query", query.sparql))
formParams.add(new BasicNameValuePair("timeout", "${timeout.toSeconds}"))
formParams.add(new BasicNameValuePair("timeout", s"${timeout.toSeconds}"))

val request: HttpPost = new HttpPost(paths.query)
request.setEntity(new UrlEncodedFormEntity(formParams, Consts.UTF_8))
Expand Down

0 comments on commit 9b995b5

Please sign in to comment.