From ef8d69b8e369ae12afd96391a26dd9f63334210c Mon Sep 17 00:00:00 2001 From: Josh Miller Date: Thu, 15 Feb 2024 15:31:03 +0000 Subject: [PATCH] Refactor createService function signature --- frontend/service/Services.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/service/Services.ts b/frontend/service/Services.ts index 63d758a89..d192ef8cf 100644 --- a/frontend/service/Services.ts +++ b/frontend/service/Services.ts @@ -79,7 +79,7 @@ const deleteServices = async ( * Creates a service */ const createService = async ( - serviceTemplate: ServiceTemplate, + serviceTemplate: Required, ): Promise => fetch(`${BACKEND_URL}/services`, { method: "POST",