From 9f02ca8dec33b4ad72d46bd06b144abe1aa76125 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 19 Aug 2022 00:55:38 +0200 Subject: [PATCH] fix export to tarball --- backend/src/workspaces.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/workspaces.rs b/backend/src/workspaces.rs index e3273f6133..19203d49ac 100644 --- a/backend/src/workspaces.rs +++ b/backend/src/workspaces.rs @@ -640,7 +640,7 @@ async fn tarball_workspace( { let variables = sqlx::query_as::<_, ListableVariable>( - "SELECT * FROM variable WHERE workspace_id = $1 AND is_secret = false", + "SELECT *, false as is_expired FROM variable WHERE workspace_id = $1 AND is_secret = false", ) .bind(&w_id) .fetch_all(&db)