fix transmision in user links

This commit is contained in:
Alireza Ahmadi
2024-05-29 23:29:43 +02:00
parent 9547038164
commit 40fbb22b74
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ const updateLinks = (i: InboundWithUser) => {
i.users.forEach((u:any) => {
const client = clients.value.find(c => u.username? c.name == u.username : c.name == u.name)
if (client){
const clientInbounds = <Inbound[]>inbounds.value.filter(i => client?.inbounds.split(',').includes(i.tag))
const clientInbounds = <Inbound[]>inbounds.value.filter(inb => client?.inbounds.split(',').includes(inb.tag))
const newLinks = <Link[]>[]
clientInbounds.forEach(i =>{
const uri = LinkUtil.linkGenerator(client.name,i)