summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-30 12:20:06 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-30 12:20:06 +0200
commit42932f9820641a4d49c1a4b64b72ed508cee8251 (patch)
tree93a4920f07a4b54294815828a7e749a5886bce5d
parent[chore] add some more slice related utility functions + remove duplicated fun... (diff)
downloadgotosocial-42932f9820641a4d49c1a4b64b72ed508cee8251.tar.xz
[chore] replace UniqueStrings with Deduplicate (#3154)
-rw-r--r--internal/db/bundb/tag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/tag.go b/internal/db/bundb/tag.go
index c6298ee64..2434edfa6 100644
--- a/internal/db/bundb/tag.go
+++ b/internal/db/bundb/tag.go
@@ -288,5 +288,5 @@ func (t *tagDB) GetAccountIDsFollowingTagIDs(ctx context.Context, tagIDs []strin
}
accountIDs = append(accountIDs, tagAccountIDs...)
}
- return util.UniqueStrings(accountIDs), nil
+ return util.Deduplicate(accountIDs), nil
}