Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
♻️ :: feed report api 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chlgkdms committed Dec 4, 2023
1 parent f5de071 commit 234feba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/src/main/kotlin/com/signal/data/api/FeedApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ interface FeedApi {
@Body createPostRequest: CreatePostRequest,
)

@POST(SignalUrl.Feed.FeedId)
@PATCH(SignalUrl.Feed.ReportFeed)
suspend fun reportFeed(
@Path("feed_id") feedId: UUID,
)
Expand Down
1 change: 1 addition & 0 deletions data/src/main/kotlin/com/signal/data/api/SignalUrl.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ object SignalUrl {
const val CreateComment = "/comment/user/{feed_id}"
const val FetchComment = "/comment/{feed_id}"
const val FeedId = "$feed/{feed_id}"
const val ReportFeed = "$feed/report/{feed_id}"
}

object Attachment {
Expand Down

0 comments on commit 234feba

Please sign in to comment.