delete-debug
This commit is contained in:
parent
7e46bbdd9e
commit
504eb98cd7
|
@ -163,8 +163,11 @@ export const apiClient = {
|
|||
console.debug('[graphql.client.core] updateArticle:', response.data)
|
||||
return response.data.update_shout.shout
|
||||
},
|
||||
deleteShout: async ({ shoutId }: { shoutId: number }): Promise<void> => {
|
||||
const response = await apiClient.private.mutation(deleteShout, { shout_id: shoutId }).toPromise()
|
||||
deleteShout: async (params): Promise<void> => {
|
||||
console.debug(params)
|
||||
const response = await apiClient.private
|
||||
.mutation(deleteShout, { shout_id: params?.shoutId })
|
||||
.toPromise()
|
||||
console.debug('[graphql.client.core] deleteShout:', response)
|
||||
},
|
||||
getDrafts: async (): Promise<Shout[]> => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user