Make audit logs server owned

This commit is contained in:
Arun committed 2026-08-11 10:59:58 +00:00
1 parent 145f13fee5
commit a5a880dfb2
6 files changed
+81 -28

No files matched your search

+1 -1
View File
@@ -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();