Skip to content

Commit

Permalink
revert: Use the correct reblog/unreblog API endpoints (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton authored Feb 5, 2025
1 parent f8d95be commit 289d600
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,12 @@ interface MastodonApi {
@Path("id") statusId: String,
): ApiResult<DeletedStatus>

@POST("api/v1/statuses/{id}/reblog2")
@POST("api/v1/statuses/{id}/reblog")
suspend fun reblogStatus(
@Path("id") statusId: String,
): ApiResult<Status>

@POST("api/v1/statuses/{id}/unreblog2")
@POST("api/v1/statuses/{id}/unreblog")
suspend fun unreblogStatus(
@Path("id") statusId: String,
): ApiResult<Status>
Expand Down

0 comments on commit 289d600

Please sign in to comment.