fix pagination info for all tanstak-tables
This commit is contained in:
@@ -211,7 +211,6 @@ export async function fetchViolationAnalyticStatistic(group: 'domain' | 'tld') {
|
||||
|
||||
export async function fetchViolationStatistic(id: string) {
|
||||
const token = await getSessionData('token');
|
||||
console.log(`fileId => ${id}`)
|
||||
|
||||
try {
|
||||
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
|
||||
@@ -232,7 +231,6 @@ export async function fetchViolationStatistic(id: string) {
|
||||
|
||||
if (response.ok) {
|
||||
let parsed = await response.json();
|
||||
console.log(parsed);
|
||||
|
||||
if (parsed?.message_body) {
|
||||
return parsed?.message_body;
|
||||
|
||||
Reference in New Issue
Block a user