[feat] report

This commit is contained in:
kwaroran
2023-09-27 14:33:35 +09:00
parent 6a7d1d6c6f
commit 702d063e93

View File

@@ -57,7 +57,7 @@
<button class="text-textcolor2 hover:text-red-500" on:click|stopPropagation={async () => {
const conf = await alertConfirm('Report this character?')
if(conf){
const report = await alertInput('Write a report text that would be sent to the admin')
const report = await alertInput('Write a report text that would be sent to the admin (for copywrite issues, use email)')
const da = await fetch(hubURL + '/hub/report', {
method: "POST",
body: JSON.stringify({