mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Remove blocks
This commit is contained in:
@@ -2750,10 +2750,8 @@ App::get('/v1/account/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByUser($user->getInternalId()),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByUser($user->getInternalId()),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
|
||||
@@ -723,10 +723,8 @@ App::get('/v1/databases/:databaseId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -1114,10 +1112,8 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -3767,10 +3763,8 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents/:documen
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
|
||||
@@ -1047,10 +1047,8 @@ App::get('/v1/messaging/providers/:providerId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -2278,10 +2276,8 @@ App::get('/v1/messaging/topics/:topicId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -2690,10 +2686,8 @@ App::get('/v1/messaging/subscribers/:subscriberId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -3457,10 +3451,8 @@ App::get('/v1/messaging/messages/:messageId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
|
||||
@@ -1415,9 +1415,7 @@ App::get('/v1/teams/:teamId/logs')
|
||||
}
|
||||
}
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByResource($resource),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByResource($resource),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
@@ -915,10 +915,8 @@ App::get('/v1/users/:userId/logs')
|
||||
}
|
||||
|
||||
$response->dynamic(new Document([
|
||||
//'total' => $audit->countLogsByUser($user->getInternalId()),
|
||||
//'logs' => $output,
|
||||
'total' => 0,
|
||||
'logs' => [],
|
||||
'total' => $audit->countLogsByUser($user->getInternalId()),
|
||||
'logs' => $output,
|
||||
]), Response::MODEL_LOG_LIST);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user