mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-28 08:02:43 +00:00
fix: codebases compatible with git sync (#5470)
This commit is contained in:
@@ -147,6 +147,7 @@ pub(crate) struct ArchiveQueryParams {
|
||||
skip_secrets: Option<bool>,
|
||||
skip_variables: Option<bool>,
|
||||
skip_resources: Option<bool>,
|
||||
skip_resource_types: Option<bool>,
|
||||
include_schedules: Option<bool>,
|
||||
include_triggers: Option<bool>,
|
||||
include_users: Option<bool>,
|
||||
@@ -280,6 +281,7 @@ pub(crate) async fn tarball_workspace(
|
||||
plain_secret,
|
||||
plain_secrets,
|
||||
skip_resources,
|
||||
skip_resource_types,
|
||||
skip_secrets,
|
||||
skip_variables,
|
||||
include_schedules,
|
||||
@@ -428,7 +430,7 @@ pub(crate) async fn tarball_workspace(
|
||||
}
|
||||
}
|
||||
|
||||
if !skip_resources.unwrap_or(false) {
|
||||
if !skip_resource_types.unwrap_or(false) {
|
||||
let resource_types = sqlx::query_as!(
|
||||
ResourceType,
|
||||
"SELECT * FROM resource_type WHERE workspace_id = $1",
|
||||
|
||||
Reference in New Issue
Block a user