mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-24 14:24:47 +08:00
Post the actual string content to bbcode endpoint
This commit is contained in:
parent
f6c1897747
commit
d75c5800d0
@ -18,7 +18,7 @@ const loading = ref(false);
|
||||
async function convertBBCode() {
|
||||
loading.value = true;
|
||||
output.value = await useInternalApi<string>("pages/convert-bbcode", false, "post", {
|
||||
content: input,
|
||||
content: input.value,
|
||||
}).catch<any>((e) => handleRequestError(e, ctx, i18n));
|
||||
loading.value = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user