Skip to content

Commit

Permalink
fix: Fix reset triplestore content endpoint (DEV-2380) (#3391)
Browse files Browse the repository at this point in the history
  • Loading branch information
siers authored Oct 31, 2024
1 parent 4dd46c7 commit 65197cd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ case class TriplestoreServiceLive(
.as(rdfDataObject.name)
rdfContents <- ZIO
.readFile(Paths.get("..", rdfDataObject.path))
.orElse(ZIO.readFile(Paths.get(rdfDataObject.path)))
.orElse(ZIO.attemptBlocking(Source.fromResource(rdfDataObject.path).mkString))
request = authenticatedRequest
.post(targetHostUri.addPath(paths.data).addParam("graph", graphName))
Expand Down

0 comments on commit 65197cd

Please sign in to comment.