Skip to content

Commit

Permalink
feat: (ApiV3) - Custom last modified error response
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Oct 27, 2023
1 parent 34b2ba3 commit 9721e6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ object ApiRepository : ApiRepositoryCore() {

fun getLastModifiedFiles(driveId: Int, cursor: String? = null): CursorApiResponse<ArrayList<File>> {
val url = "${ApiRoutes.getLastModifiedFiles(driveId)}&${loadCursor(cursor)}"
return callApi(url, GET)
return callApiWithCursor(url, GET)
}

fun getLastGallery(driveId: Int, page: Int = 1): ApiResponse<ArrayList<File>> {
Expand Down

0 comments on commit 9721e6b

Please sign in to comment.