Added search ip domain logs

This commit is contained in:
Juan Gilsanz Polo 2022-10-02 13:55:41 +02:00
parent 441dad441d
commit 97494ef1a1
4 changed files with 257 additions and 172 deletions

View file

@ -366,9 +366,10 @@ Future getLogs({
int? offset,
DateTime? olderThan,
String? responseStatus,
String? search
}) async {
final result = await getRequest(
urlPath: '/querylog?limit=$count${offset != null ? '&offset=$offset' : ''}${olderThan != null ? '&older_than=${olderThan.toIso8601String()}' : ''}${responseStatus != null ? '&response_status=$responseStatus' : ''}',
urlPath: '/querylog?limit=$count${offset != null ? '&offset=$offset' : ''}${olderThan != null ? '&older_than=${olderThan.toIso8601String()}' : ''}${responseStatus != null ? '&response_status=$responseStatus' : ''}${search != null ? '&search=$search' : ''}',
server: server
);