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.

add fallthough for unknown notifications (#2511)

Sean Aye3f7b0701e475
diff --git a/rust/cloud-storage/call/.sqlx/query-d2faac5b9aa6421d1f5c1d2f07a73ee093cd91bca7aa1c9fc76049354963a158.json b/rust/cloud-storage/call/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
similarity index 64%
rename from rust/cloud-storage/call/.sqlx/query-d2faac5b9aa6421d1f5c1d2f07a73ee093cd91bca7aa1c9fc76049354963a158.json
rename to rust/cloud-storage/call/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
index e16ec89bc6..318dfc48ff 100644
--- a/rust/cloud-storage/call/.sqlx/query-d2faac5b9aa6421d1f5c1d2f07a73ee093cd91bca7aa1c9fc76049354963a158.json
+++ b/rust/cloud-storage/call/.sqlx/query-5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT mui.profile_picture\n FROM macro_user_info mui\n JOIN \"User\" u ON mui.macro_user_id = u.macro_user_id\n WHERE u.macro_user_id::text = $1 AND mui.profile_picture IS NOT NULL\n LIMIT 1\n ",
+ "query": "\n SELECT mui.profile_picture\n FROM macro_user_info mui\n JOIN \"User\" u ON mui.macro_user_id = u.macro_user_id\n WHERE u.id = $1 AND mui.profile_picture IS NOT NULL\n LIMIT 1\n ",
"describe": {
"columns": [
{
@@ -18,5 +18,5 @@
true
]
},
- "hash": "d2faac5b9aa6421d1f5c1d2f07a73ee093cd91bca7aa1c9fc76049354963a158"
+ "hash": "5f8bb3fa254adef0d6b582d2d964d9f77f55d10e070be80de74d22e18ba8a7d4"
}
diff --git a/rust/cloud-storage/call/src/domain/service.rs b/rust/cloud-storage/call/src/domain/service.rs
index 22e95870d1..709cd7a803 100644
--- a/rust/cloud-storage/call/src/domain/service.rs
+++ b/rust/cloud-storage/call/src/domain/service.rs
@@ -309,8 +309,7 @@ impl<
recipient_ids,
}
.into_request()
- .with_apns()
- .with_conn_gateway();
+ .with_apns();
let _ = self
.notification_ingress
diff --git a/rust/cloud-storage/call/src/outbound/pg_call_repo.rs b/rust/cloud-storage/call/src/outbound/pg_call_repo.rs
index b93617ed6c..d26b3e7905 100644
--- a/rust/cloud-storage/call/src/outbound/pg_call_repo.rs
+++ b/rust/cloud-storage/call/src/outbound/pg_call_repo.rs
@@ -491,7 +491,7 @@ impl CallRepository for PgCallRepo {
SELECT mui.profile_picture
FROM macro_user_info mui
JOIN "User" u ON mui.macro_user_id = u.macro_user_id
- WHERE u.macro_user_id::text = $1 AND mui.profile_picture IS NOT NULL
+ WHERE u.id = $1 AND mui.profile_picture IS NOT NULL
LIMIT 1
"#,
user_id.as_ref(),