handling closing posts

This commit is contained in:
jackiettran committed 2025-11-17 17:53:41 -05:00
1 parent e260992ef2
commit 026e748bf8
9 files changed
+770 -24

No files matched your search

+2
View File
@@ -286,6 +286,8 @@ export const forumAPI = {
adminRestorePost: (id: string) => api.patch(`/forum/admin/posts/${id}/restore`),
adminDeleteComment: (id: string) => api.delete(`/forum/admin/comments/${id}`),
adminRestoreComment: (id: string) => api.patch(`/forum/admin/comments/${id}/restore`),
adminClosePost: (id: string) => api.patch(`/forum/admin/posts/${id}/close`),
adminReopenPost: (id: string) => api.patch(`/forum/admin/posts/${id}/reopen`),
};
export const stripeAPI = {