a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(labeler): remove options from applyLabel

Mary 24671a12 2ae7ead6

+2 -3
+2 -3
packages/servers/labeler/lib/labeler.ts
··· 43 43 /** 44 44 * apply a single label operation 45 45 * @param op label operation 46 - * @param options batch defaults 47 46 * @returns stored label 48 47 */ 49 - async applyLabel(op: LabelOp, options?: ApplyLabelsOptions): Promise<SignedLabel> { 50 - const labels = await this.applyLabels([op], options); 48 + async applyLabel(op: LabelOp): Promise<SignedLabel> { 49 + const labels = await this.applyLabels([op]); 51 50 const label = labels[0]; 52 51 if (label === undefined) { 53 52 throw new Error(`expected one stored label`);