From 96e6f694e3fa331d927f17d3cd9c971541dab221 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Thu, 28 Oct 2021 08:25:59 -0500 Subject: [PATCH] Fix regression of updating created date on environment --- services/api/src/resources/environment/resolvers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/api/src/resources/environment/resolvers.ts b/services/api/src/resources/environment/resolvers.ts index 4d15ab621c..ab85c23fdd 100644 --- a/services/api/src/resources/environment/resolvers.ts +++ b/services/api/src/resources/environment/resolvers.ts @@ -605,7 +605,8 @@ export const updateEnvironment: ResolverFn = async ( route: input.patch.route, routes: input.patch.routes, monitoringUrls: input.patch.monitoringUrls, - autoIdle: input.patch.autoIdle + autoIdle: input.patch.autoIdle, + created: input.patch.created } }) ); @@ -631,6 +632,7 @@ export const updateEnvironment: ResolverFn = async ( routes: input.patch.routes, monitoringUrls: input.patch.monitoringUrls, autoIdle: input.patch.autoIdle, + created: input.patch.created }, data: withK8s }