Skip to content

Commit

Permalink
Add missed call event
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed Apr 14, 2024
1 parent 490f4c9 commit a89c51e
Show file tree
Hide file tree
Showing 16 changed files with 497 additions and 38 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/java/com/httpsms/HttpSmsApiService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class HttpSmsApiService(private val apiKey: String, private val baseURL: URI) {
if (!response.isSuccessful) {
Timber.e("error response [${response.body?.string()}] with code [${response.code}] while receiving message [${body}]")
response.close()
return false
return response.code == 422 || response.code == 401
}

val message = ResponseMessage.fromJson(response.body!!.string())
Expand Down
143 changes: 138 additions & 5 deletions api/docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a89c51e

Please sign in to comment.