mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-03-10 16:30:19 +01:00
fix missing lookup cache key for invalid domain block (#1158)
This commit is contained in:
parent
c534230600
commit
0c1b1b01f8
@ -125,7 +125,7 @@ func (d *domainDB) DeleteDomainBlock(ctx context.Context, domain string) db.Erro
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Clear domain from cache
|
// Clear domain from cache
|
||||||
d.cache.Invalidate(domain)
|
d.cache.Invalidate("Domain", domain)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user