From bddbe409749953d89c31707eb42f683d4b248192 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Wed, 16 Oct 2024 10:26:45 +0800 Subject: [PATCH] add duration (#420) --- src/graphql/fragments/selector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphql/fragments/selector.ts b/src/graphql/fragments/selector.ts index 9c9e46d6..8f1b09eb 100644 --- a/src/graphql/fragments/selector.ts +++ b/src/graphql/fragments/selector.ts @@ -73,9 +73,9 @@ export const Processes = { }; export const Endpoints = { - variable: "$serviceId: ID!, $keyword: String!", + variable: "$serviceId: ID!, $keyword: String!, $duration: Duration", query: ` - pods: findEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 20) { + pods: findEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 20, duration: $duration) { id value: name label: name