fix endpoints & typos
Some checks failed
/ sync-to-origin (push) Has been cancelled

This commit is contained in:
PoliEcho 2025-04-10 00:19:14 +02:00
parent 5173a05a09
commit 48b4f9cda8
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ void komens_page(koment_type type) {
resp_from_api = json::parse(f);
f.close();*/
const char *types[] = {"/api/3/komens/messages/received",
"/api/3/komens/message",
"/api/3/komens/messages/sent",
"/api/3/komens/messages/noticeboard"};
const std::string endpoint = types[type];

View File

@ -9,7 +9,7 @@
void komens_menu() {
wchar_t *choices[] = {
L"received", L"send", L"noticeboard", L"Exit", nullptr,
L"received", L"sent", L"noticeboard", L"Exit", nullptr,
};
ITEM **my_items;