Skip to content

Commit

Permalink
fix: discord send message client
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Aug 18, 2024
1 parent b5dd130 commit a324ab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import com.hero.alignlab.client.discord.model.response.GetWebhookWithTokenRespon
interface DiscordWebhookClient {
suspend fun getWebhookWithToken(id: Int): GetWebhookWithTokenResponse

suspend fun sendMessage(id: Int, request: SendMessageRequest): Void
suspend fun sendMessage(id: Int, request: SendMessageRequest)
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SuspendableDiscordWebhookClient(
.request()
}

override suspend fun sendMessage(id: Int, request: SendMessageRequest): Void {
override suspend fun sendMessage(id: Int, request: SendMessageRequest) {
return client
.post()
.discordUri(id)
Expand Down

0 comments on commit a324ab2

Please sign in to comment.