Improve error name and message for signed-in only feeds (#6577)
* Improve error name and message for logged-in only feeds * Revert msg edit --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
This commit is contained in:
@@ -602,7 +602,7 @@ function assertSomePostsPassModeration(feed: AppBskyFeedDefs.FeedViewPost[]) {
|
||||
}
|
||||
|
||||
if (!somePostsPassModeration) {
|
||||
throw new Error(KnownError.FeedNSFPublic)
|
||||
throw new Error(KnownError.FeedSignedInOnly)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user