Skip to content

Commit

Permalink
fixed doc path
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterITA committed Jul 1, 2024
1 parent 4c4e691 commit ae0a7d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ final case class EServicesApiServiceImpl(
"docs" -> Json.arr(
descriptor.docs.map(doc =>
Json
.obj("prettyName" -> Json.fromString(doc.prettyName), "path" -> Json.fromString(s"documents/$doc.name"))
.obj("prettyName" -> Json.fromString(doc.prettyName), "path" -> Json.fromString(s"documents/${doc.name}"))
): _* // `: _*` is used to convert Seq to varargs for Json.arr
),
"audience" -> Json.arr(descriptor.audience.map(Json.fromString): _*),
Expand Down

0 comments on commit ae0a7d4

Please sign in to comment.