Skip to content

Commit

Permalink
Add add post request
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreang Rathanak committed Dec 26, 2023
1 parent 245f6a5 commit d1d7036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class SpellSuggestionManager(private val r_2_khmer: R2KhmerService) {
}

private fun spellChecking(searchText: String) {
val requestBody = SpellCheckRequestDTO("អត្ថបទសម្រាប់ការពិនិត្យអក្ខរាវិរុទ្")
val requestBody = SpellCheckRequestDTO(searchText)
val call = ApiClient.apiService.spellCheckIng(requestBody)
call.enqueue(object : Callback<SpellCheckRespondDTO> {
override fun onResponse(call: Call<SpellCheckRespondDTO>, response: Response<SpellCheckRespondDTO>) {
Expand Down

0 comments on commit d1d7036

Please sign in to comment.