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: 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 );