Skip to content

Commit

Permalink
Fix for return type on delete method in retrofit interface
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorNarvaez committed Jun 7, 2023
1 parent 842ad57 commit 47bb935
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.omh.android.storage.api.drive.nongms.data
import com.omh.android.storage.api.drive.nongms.data.source.body.CreateFileRequestBody
import com.omh.android.storage.api.drive.nongms.data.source.response.FileListRemoteResponse
import com.omh.android.storage.api.drive.nongms.data.source.response.FileRemoteResponse
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.DELETE
Expand Down Expand Up @@ -44,5 +45,5 @@ internal interface GoogleStorageApiService {
@DELETE("$FILES_PARTICLE/{$FILE_ID}")
fun deleteFile(
@Path(FILE_ID) fileId: String
): Call<Nothing>
): Call<ResponseBody>
}

0 comments on commit 47bb935

Please sign in to comment.