Skip to content

Commit

Permalink
replase emojis request from POST to GET
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Jan 17, 2025
1 parent f2569d9 commit 903556e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package dev.dimension.flare.data.network.misskey.api
import de.jensklingenberg.ktorfit.Response
import de.jensklingenberg.ktorfit.http.Body
import de.jensklingenberg.ktorfit.http.Headers
import de.jensklingenberg.ktorfit.http.GET
import de.jensklingenberg.ktorfit.http.POST
import dev.dimension.flare.data.network.misskey.api.model.AdminInviteCreate200ResponseInner
import dev.dimension.flare.data.network.misskey.api.model.AdminMeta200Response
Expand Down Expand Up @@ -87,10 +88,9 @@ internal interface MetaApi {
* - 418: I'm Ai
* - 500: Internal server error
*
* @param body * @return [Emojis200Response]
* @return [Emojis200Response]
*/
@POST("emojis")
@Headers(value = ["Content-Type: "])
@GET("emojis")
suspend fun emojis(): Response<Emojis200Response>

/**
Expand Down

0 comments on commit 903556e

Please sign in to comment.