Make audit logs server owned
This commit is contained in:
1 parent
145f13fee5
commit
a5a880dfb2
6 files changed
+81
-28
No files matched your search
+1
-1
@@ -228,7 +228,7 @@ async function handleReplySubmit(postId) {
|
||||
if (parseInt(captchaInput) !== captchaAnswer) { alert('验证码错误,请重新计算'); refreshCaptcha('reply'); return; }
|
||||
try {
|
||||
await API.createReply(postId, content);
|
||||
API.logEvent('create_reply').catch(() => {});
|
||||
|
||||
renderPostDetail(postId);
|
||||
if (currentPage === 'feed') {
|
||||
renderFeed();
|
||||
|
||||
Reference in new issue
Block a user