automatically update xd score when new xd is added

This commit is contained in:
2026-05-14 16:17:54 +02:00
parent 0f0da0c2ef
commit 9fb5e6c391
2 changed files with 7 additions and 0 deletions

View File

@@ -445,6 +445,7 @@ export default (router, tpl) => {
body: JSON.stringify({
success: true,
comment: newComment[0],
xd_score: xdRow?.xd_score ?? null,
is_new_subscription
})
});