This commit is contained in:
vextrixes committed 2026-10-31 15:02:36 +01:00
1 parent 945497e83d
commit 4433026595
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ use std::marker::PhantomData;
use crate::{ContentType, Endpoint, GdprCommissioners, GdprConsents};
pub const SEND_GDPR_OBJECTION_ENDPOINT: Endpoint<(), String> = Endpoint::Post {
url: "/api/3/payments/classfund/paymentsinfo",
url: "/api/3/gdpr/commissioner/send-objection",
auth: true,
content_type: ContentType::Json,
_types: PhantomData,
+2 -2
View File
@@ -11,14 +11,14 @@ pub const HOMEWORKS_COUNT_ENDPOINT: Endpoint<i64, ()> = Endpoint::Get {
/// ID = homework ID (String)
/// finished = homework state (bool)
pub const HOMEWORK_DONE_ENDPOINT: Endpoint<bool, ()> = Endpoint::Get {
url: "api/3/homeworks/{id}/student-done/{finished}",
url: "/api/3/homeworks/{id}/student-done/{finished}",
auth: true,
_types: PhantomData,
};
/// Query 'from' and 'to' (Datetime)
pub const HOMEWORKS_ENDPOINT: Endpoint<HomeworkList, ()> = Endpoint::Get {
url: "api/3/homeworks",
url: "/api/3/homeworks",
auth: true,
_types: PhantomData,
};