Skip to content

Commit

Permalink
feat: (ApiV3) - Migrate getLastModifiedFiles response to CursorApiRes…
Browse files Browse the repository at this point in the history
…ponse
  • Loading branch information
sirambd committed Oct 27, 2023
1 parent 51347bb commit b6b939b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ object ApiRepository : ApiRepositoryCore() {
return callApi(ApiRoutes.getFileActivities(driveId, formattedFileIds, fromDate), GET, okHttpClient = okHttpClient)
}

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

0 comments on commit b6b939b

Please sign in to comment.