summaryrefslogtreecommitdiff
path: root/internal/cache
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-28 16:43:00 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-28 16:43:00 +0200
commit86786ae5b3f2cf3cf33b3b303a75ac945b0f4b77 (patch)
tree417c1b967ac99c4087816e1580f55c7cb2852567 /internal/cache
parent[chore] Add envparsing test for advanced-header-filter-mode (#3051) (diff)
downloadgotosocial-86786ae5b3f2cf3cf33b3b303a75ac945b0f4b77.tar.xz
[bugfix] Fix typo in instance cache copyF (#3052)
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cache/db.go b/internal/cache/db.go
index e00c02701..d0fe77649 100644
--- a/internal/cache/db.go
+++ b/internal/cache/db.go
@@ -723,7 +723,7 @@ func (c *Caches) initInstance() {
i2.DomainBlock = nil
i2.ContactAccount = nil
- return i1
+ return i2
}
c.GTS.Instance.Init(structr.CacheConfig[*gtsmodel.Instance]{