mirror of
1
Fork 0

[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
1 changed files with 1 additions and 1 deletions

View File

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