fix(#140): fix skills content API endpoints — path params to query params (#142)

Co-authored-by: ronia <ronia@m57>
This commit is contained in:
M57andronia authored and GitHub committed 2026-06-20 02:43:26 +03:00
1 parent 261ee6379a
commit 113467a99d
3 files changed
+8 -6

No files matched your search

@@ -54,14 +54,13 @@ import retrofit2.http.Path
import retrofit2.http.Query
interface HermesApiService {
@GET("api/skills/{name}/content")
@GET("api/skills/content")
suspend fun getSkillContent(
@Path("name") name: String,
@Query("name") name: String,
): Response<SkillContentResponse>
@PUT("api/skills/{name}/content")
@PUT("api/skills/content")
suspend fun saveSkillContent(
@Path("name") name: String,
@Body body: SaveSkillContentRequest,
): Response<Unit>