NSCv3: fix loading v1 records on full sync
This commit is contained in:
parent
5d62ad1729
commit
9b4d9b788b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ internal interface NightscoutRemoteService {
|
||||||
@DELETE("v3/entries/{identifier}")
|
@DELETE("v3/entries/{identifier}")
|
||||||
suspend fun deleteEntry(@Path("identifier") identifier: String): Response<NSResponse<RemoteCreateUpdateResponse>>
|
suspend fun deleteEntry(@Path("identifier") identifier: String): Response<NSResponse<RemoteCreateUpdateResponse>>
|
||||||
|
|
||||||
@GET("v3/treatments?sort=date")
|
@GET("v3/treatments?sort=created_at")
|
||||||
suspend fun getTreatmentsNewerThan(@Query(value = "created_at\$gt", encoded = true) createdAt: String, @Query("limit") limit: Int): Response<NSResponse<List<RemoteTreatment>>>
|
suspend fun getTreatmentsNewerThan(@Query(value = "created_at\$gt", encoded = true) createdAt: String, @Query("limit") limit: Int): Response<NSResponse<List<RemoteTreatment>>>
|
||||||
|
|
||||||
@GET("v3/treatments/history/{from}")
|
@GET("v3/treatments/history/{from}")
|
||||||
|
|
Loading…
Reference in a new issue