Track payment method

This commit is contained in:
Jon Staab
2026-05-29 12:24:39 -07:00
parent d5047dedb1
commit ae3e1c316e
8 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ pub async fn list_relays_pending_sync() -> Result<Vec<Relay>> {
)
}
pub async fn list_relays(tenant_pubkey: &str) -> Result<Vec<Relay>> {
pub async fn list_relays_for_tenant(tenant_pubkey: &str) -> Result<Vec<Relay>> {
Ok(sqlx::query_as::<_, Relay>(&select_relay("WHERE tenant_pubkey = ?"))
.bind(tenant_pubkey)
.fetch_all(pool())