Skip to content
Snippets Groups Projects
Commit 00c8de40 authored by John Carlson's avatar John Carlson
Browse files

Allow for null state on filtering milestones

parent 702eab7b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -145,7 +145,7 @@ interface GitLabService {
 
@GET(API_VERSION + "/projects/{id}/milestones")
fun getMilestones(@Path("id") projectId: Long,
@Query("state") state: String): Single<Response<List<Milestone>>>
@Query("state") state: String?): Single<Response<List<Milestone>>>
 
@GET
fun getMilestones(@Url url: String): Single<Response<List<Milestone>>>
Loading
Loading
Loading
Loading
@@ -51,7 +51,7 @@ class MilestonesFragment : ButterKnifeFragment() {
lateinit var adapterMilestones: MilestoneAdapter
lateinit var layoutManagerMilestones: LinearLayoutManager
 
lateinit var state: String
var state: String? = null
lateinit var states: Array<String>
var project: Project? = null
var loading = false
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment