From 98a4b89da0d4554f2b0a5b71dcad2238522fd11b Mon Sep 17 00:00:00 2001 From: Fine Date: Wed, 16 Oct 2024 09:39:12 +0800 Subject: [PATCH] add duration --- 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