mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
fix drop action
This commit is contained in:
parent
a2eb15c002
commit
da62d5358f
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ export const getAvailableEventActions = (event: PublicEvent, identityContext: Id
|
||||||
action: "drop",
|
action: "drop",
|
||||||
label: "放弃",
|
label: "放弃",
|
||||||
handler: async () => {
|
handler: async () => {
|
||||||
const { data } = await saturdayClient.POST("/member/events/{EventId}/accept", {
|
const { data } = await saturdayClient.DELETE("/member/events/{EventId}/accept", {
|
||||||
params: {
|
params: {
|
||||||
header: {
|
header: {
|
||||||
Authorization: `Bearer ${identityContext.token}`,
|
Authorization: `Bearer ${identityContext.token}`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue