mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
de day #74
This commit is contained in:
@@ -101,6 +101,8 @@ export async function getArticles(params: {
|
||||
featured?: boolean;
|
||||
q?: string;
|
||||
slug?: string;
|
||||
match_id?: string | number;
|
||||
month?: string; // YYYY-MM
|
||||
} = {}) {
|
||||
// Backend returns shape: { items, total, page, page_size }
|
||||
// Normalize to { data, total, page, page_size } expected by the frontend.
|
||||
|
||||
Reference in New Issue
Block a user