Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(update): wrong url (#2786)

Sean Ayea3b556fa30c1
diff --git a/infra/stacks/authentication-service/index.ts b/infra/stacks/authentication-service/index.ts
index 0c880a1f73..0f11011552 100644
--- a/infra/stacks/authentication-service/index.ts
+++ b/infra/stacks/authentication-service/index.ts
@@ -222,7 +222,7 @@ const service = new AuthenticationService('authentication-service', {
{ name: 'ENVIRONMENT', value: stack },
{
name: 'RUST_LOG',
- value: `authentication_service=${stack === 'prod' ? 'info' : 'trace'},tower_http=${stack === 'prod' ? 'info' : 'debug'},macro_auth=${stack === 'prod' ? 'info' : 'debug'},macro_middleware=${stack === 'prod' ? 'info' : 'debug'},github=${stack === 'prod' ? 'info' : 'debug'},fusionauth=debug,warn`,
+ value: `warn,authentication_service=${stack === 'prod' ? 'info' : 'trace'},tower_http=${stack === 'prod' ? 'info' : 'debug'},macro_auth=${stack === 'prod' ? 'info' : 'debug'},macro_middleware=${stack === 'prod' ? 'info' : 'debug'},github=${stack === 'prod' ? 'info' : 'debug'},fusionauth=debug,warn`,
},
{
name: 'DATABASE_URL',
diff --git a/rust/cloud-storage/native_app_service/src/domain/models.rs b/rust/cloud-storage/native_app_service/src/domain/models.rs
index c231f38ab2..6ad80604f6 100644
--- a/rust/cloud-storage/native_app_service/src/domain/models.rs
+++ b/rust/cloud-storage/native_app_service/src/domain/models.rs
@@ -94,7 +94,7 @@ pub struct BundleUpdateRequest {
/// the name of the semver file as it exists in the s3 bucket
pub static SEMVER_FILE_NAME: &str = "/app/semver.txt";
/// the name of the bundle file as it exists in the s3 bucket
-pub static BUNDLE_ARCHIVE_NAME: &str = "app-archive.zip";
+pub static BUNDLE_ARCHIVE_NAME: &str = "/app/app-archive.zip";
/// the typed of errors that can occur while querying the bundle state
#[derive(Debug, Error)]
diff --git a/rust/cloud-storage/native_app_service/src/tests.rs b/rust/cloud-storage/native_app_service/src/tests.rs
index 8c7da92583..719733f1f2 100644
--- a/rust/cloud-storage/native_app_service/src/tests.rs
+++ b/rust/cloud-storage/native_app_service/src/tests.rs
@@ -18,7 +18,8 @@ use strum::IntoEnumIterator;
#[test]
fn all_urls_work() {
let fetcher = DefaultBundleFetcher::new("https://macro.com".parse().unwrap());
- let _url = fetcher.get_app_bundle_path();
+ let url = fetcher.get_app_bundle_path();
+ assert_eq!(url.as_str(), "https://macro.com/app/app-archive.zip");
}
struct MockBundleFetcher;