@replit/connectors 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -258,8 +258,8 @@ export class Replit {
258
258
  params: TopLevelAPI.AssignConnectionParams,
259
259
  options?: RequestOptions,
260
260
  ): APIPromise<TopLevelAPI.AssignConnectionResponse> {
261
- const { id } = params;
262
- return this.put(path`/v2/connection/${id}/assignment/${replID}`, options);
261
+ const { id, ...body } = params;
262
+ return this.put(path`/v2/connection/${id}/assignment/${replID}`, { body, ...options });
263
263
  }
264
264
 
265
265
  /**