[PR #69] [CLOSED] fix: Pass correct payload to bulk delete API call #82

Closed
opened 2026-02-16 12:26:59 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/69
Author: @sussycatgirl
Created: 3/18/2023
Status: Closed

Base: masterHead: fix-bulk-delete


📝 Commits (1)

  • b40168e fix: Pass correct payload to bulk delete API call

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/maps/Channels.ts (+1 -1)

📄 Description

DELETE /channels/:id/messages/bulk needs payload to be { "ids": [] }, revolt.js sends { "data": { "ids": [] } }

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended
  • These changes do not have any notable side effects on other Revolt projects

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/javascript-client-sdk/pull/69 **Author:** [@sussycatgirl](https://github.com/sussycatgirl) **Created:** 3/18/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-bulk-delete` --- ### 📝 Commits (1) - [`b40168e`](https://github.com/stoatchat/javascript-client-sdk/commit/b40168e005c94f3a1991f739ea99e6d68b1cb107) fix: Pass correct payload to bulk delete API call ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/maps/Channels.ts` (+1 -1) </details> ### 📄 Description DELETE /channels/:id/messages/bulk needs payload to be `{ "ids": [] }`, revolt.js sends `{ "data": { "ids": [] } }` * [x] I understand and have followed the [contribution guide](https://github.com/revoltchat/revolt/discussions/282) * [x] I have tested my changes locally and they are working as intended * [x] These changes do not have any notable side effects on other Revolt projects --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:26:59 -05:00
yindo closed this issue 2026-02-16 12:26:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#82