forked from coracle/caravel
Fix nip98
This commit is contained in:
@@ -116,7 +116,7 @@ export const createRelayForActiveTenant = (input: CreateRelayInput) => {
|
||||
}
|
||||
|
||||
const overrides = {
|
||||
tenant: account()!.pubkey,
|
||||
tenant_pubkey: account()!.pubkey,
|
||||
blossom_enabled: input.plan_id === "free" ? 0 : 1,
|
||||
livekit_enabled: input.plan_id === "free" ? 0 : 1,
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function AdminRelayList() {
|
||||
const list = relays() ?? []
|
||||
const q = query().trim()
|
||||
if (!q) return list
|
||||
return new Fuse(list, { keys: ["info_name", "subdomain", "tenant"], threshold: 0.35, ignoreLocation: true }).search(q).map(r => r.item)
|
||||
return new Fuse(list, { keys: ["info_name", "subdomain", "tenant_pubkey"], threshold: 0.35, ignoreLocation: true }).search(q).map(r => r.item)
|
||||
})
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user