[bugfix] Fix incorrect policy value parsing (#3315)

This commit is contained in:
tobi 2024-09-17 21:22:45 +02:00 committed by GitHub
parent 4bd5e68b2b
commit 95614fb298
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1170,7 +1170,7 @@ func extractPolicyValues[T WithIRI](
case owner.FollowersURI:
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers)
case owner.FollowingURI:
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowers)
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueFollowing)
case owner.URI:
PolicyValues = append(PolicyValues, gtsmodel.PolicyValueAuthor)
default: