Skip to content

Commit

Permalink
fix: remove unused T
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Dec 2, 2023
1 parent 05fb737 commit 68208f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commonMain/kotlin/dev/zxilly/notify/sdk/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Client internal constructor(
(resp.body() as Response<Boolean>).body
}

suspend fun <T> getMessages() = wrap {
suspend fun getMessages() = wrap {
val resp = client.get(User.Messages(User(userSecret)))
if (!resp.ok()) {
throw Error("Fetch failed\n${resp.bodyAsText()}")
Expand Down

0 comments on commit 68208f9

Please sign in to comment.