Skip to content

Commit

Permalink
🐛 Handle 400 error when uploading weight table
Browse files Browse the repository at this point in the history
  • Loading branch information
paul2126 committed Dec 10, 2023
1 parent 8f54979 commit d114163
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ class BackupSettingsViewModel @Inject internal constructor(
ResponseCode.SUCCESS.value -> {
handleSuccess()
}

ResponseCode.BAD_REQUEST.value -> {
handleNoInternetConnection()
}
ResponseCode.NO_INTERNET_CONNECTION.value -> {
handleNoInternetConnection()
}
Expand Down

0 comments on commit d114163

Please sign in to comment.