mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 01:23:33 -04:00
[PR #69] [CLOSED] fix: Pass correct payload to bulk delete API call #82
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/69
Author: @sussycatgirl
Created: 3/18/2023
Status: ❌ Closed
Base:
master← Head:fix-bulk-delete📝 Commits (1)
b40168efix: 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": [] } }🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.