diff --git a/packages/bsky/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts b/packages/bsky/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts index 61401d9135..8feb2090f1 100644 --- a/packages/bsky/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +++ b/packages/bsky/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts @@ -56,19 +56,12 @@ export default function (server: Server, ctx: AppContext) { const skeleton = async (input: SkeletonFnInput) => { const { params, ctx } = input - const gates = ctx.featureGates const [relativeToDid] = await ctx.hydrator.actor.getDids([params.actor]) if (!relativeToDid) { throw new InvalidRequestError('Actor not found') } - if ( - ctx.suggestionsAgent && - gates.check( - await gates.user({ did: params.hydrateCtx.viewer }), - gates.ids.NewSuggestedFollowsByActor, - ) - ) { + if (ctx.suggestionsAgent) { const res = await ctx.suggestionsAgent.api.app.bsky.unspecced.getSuggestionsSkeleton( { diff --git a/packages/bsky/src/feature-gates.ts b/packages/bsky/src/feature-gates.ts index 3e22afa141..ccfa928060 100644 --- a/packages/bsky/src/feature-gates.ts +++ b/packages/bsky/src/feature-gates.ts @@ -10,7 +10,11 @@ export type Config = { } export enum GateID { - NewSuggestedFollowsByActor = 'new_sugg_foll_by_actor', + /** + * Left here ensure this is interpreted as a string enum and therefore + * appease TS + */ + _ = '', } /**