|
@ -89,6 +89,11 @@ const logHeaderApi = { |
|
|
* @returns {Promise<LogHeader[]>} |
|
|
* @returns {Promise<LogHeader[]>} |
|
|
*/ |
|
|
*/ |
|
|
list(filter = {}) { |
|
|
list(filter = {}) { |
|
|
|
|
|
filter = Object.assign({}, filter) |
|
|
|
|
|
if (filter.limit != null && filter.limit <= 0) { |
|
|
|
|
|
delete filter.limit |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return query(`
|
|
|
return query(`
|
|
|
query LogHeaders($filter: LogsFilter) { |
|
|
query LogHeaders($filter: LogsFilter) { |
|
|
headers: logs(filter:$filter) { |
|
|
headers: logs(filter:$filter) { |
|
|