Ver Fonte

Fix event log filtering

ghorsington há 4 anos atrás
pai
commit
66d82d27ad
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      web/src/routes/logs/poll.ts

+ 1 - 0
web/src/routes/logs/poll.ts

@@ -58,6 +58,7 @@ export const get = async (req: ExpressRequest, res: ExpressResponse): GetResult
 
     const DEFAULT_LIMIT = 50;
     const result = await tryDo(queryEvents({
+        from: new Date(0),
         fields: ["level", "message", "label", "timestamp"],
         limit: isNumber(params.limit) ? +params.limit : DEFAULT_LIMIT,
         includeIds: true,