NSCv3: fix loading v1 records on full sync

This commit is contained in:
Milos Kozak 2023-10-30 13:21:17 +01:00
parent 5d62ad1729
commit 9b4d9b788b

View file

@ -56,7 +56,7 @@ internal interface NightscoutRemoteService {
@DELETE("v3/entries/{identifier}")
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>>>
@GET("v3/treatments/history/{from}")