From 7b7729ffc5e5641a36946d806ecc8af4595b70c6 Mon Sep 17 00:00:00 2001 From: pl00h <139405650+pl00h@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:25:23 -0400 Subject: [PATCH 1/2] Revert "Pass ban context through when banning users (#100)" This reverts commit fb0cc8177c6c3e79b2534598f2bd9edfb47bb92b. --- packages/public-api/src/apis/reddit/RedditAPIClient.ts | 1 - packages/public-api/src/apis/reddit/models/Subreddit.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/public-api/src/apis/reddit/RedditAPIClient.ts b/packages/public-api/src/apis/reddit/RedditAPIClient.ts index cfa995f8b..794c35284 100644 --- a/packages/public-api/src/apis/reddit/RedditAPIClient.ts +++ b/packages/public-api/src/apis/reddit/RedditAPIClient.ts @@ -767,7 +767,6 @@ export class RedditAPIClient { banMessage: options.message, note: options.note, duration: options.duration, - banContext: options.context, }, this.#metadata ); diff --git a/packages/public-api/src/apis/reddit/models/Subreddit.ts b/packages/public-api/src/apis/reddit/models/Subreddit.ts index 6bc94a5a1..5e473183f 100644 --- a/packages/public-api/src/apis/reddit/models/Subreddit.ts +++ b/packages/public-api/src/apis/reddit/models/Subreddit.ts @@ -801,7 +801,6 @@ export class Subreddit { banMessage: options.message, note: options.note, duration: options.duration, - banContext: options.context, }, this.#metadata ); From 65ebf6d7e19ec18554caf45dc77d5f0e43675bee Mon Sep 17 00:00:00 2001 From: u Date: Tue, 17 Dec 2024 18:41:12 +0100 Subject: [PATCH 2/2] Update dev_guide.mdx Corrected typos in #25 and #29. Signed-off-by: u --- devvit-docs/docs/dev_guide.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devvit-docs/docs/dev_guide.mdx b/devvit-docs/docs/dev_guide.mdx index ae6392c4d..ba0b4b361 100644 --- a/devvit-docs/docs/dev_guide.mdx +++ b/devvit-docs/docs/dev_guide.mdx @@ -22,11 +22,11 @@ You'll also need an editor for viewing and editing code (we recommend [VS Code]( Click here for instructions on installing Node.js
- You’re going to work with TypeScript. In order for Typescript to work with Devvit, you’ll need a working Node.js environment and then the Devvit command line interface. Node.js is an open-source server environment that makes it possible to develop and run Javascript apps anywhere. Node.js lets you import and use packages (code that other people have written) into your code. + You’re going to work with TypeScript. In order for TypeScript to work with Devvit, you’ll need a working Node.js environment and then the Devvit command line interface. Node.js is an open-source server environment that makes it possible to develop and run Javascript apps anywhere. Node.js lets you import and use packages (code that other people have written) into your code. **Option 1: Use node version manager (nvm)** -Install or update [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to use as a handy command-line tool for managing multiple Node.js versions on your system. This will allow you to switch between different versions easily. If you to use a different node version manager, check out these [suggestions from npmjs.org](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). +Install or update [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to use as a handy command-line tool for managing multiple Node.js versions on your system. This will allow you to switch between different versions easily. If you choose to use a different node version manager, check out these [suggestions from npmjs.org](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). For macOS or Linux: