You've already forked obsidian-visualiser
Add back Loading Indicator, rework children caching, small visual improvement on character sheet and config management.
This commit is contained in:
@@ -10,7 +10,7 @@ export default defineEventHandler(async (e) => {
|
||||
if(!body.success)
|
||||
{
|
||||
setResponseStatus(e, 400);
|
||||
return body.error.message;
|
||||
throw body.error.message;
|
||||
}
|
||||
|
||||
const session = await getUserSession(e);
|
||||
@@ -39,7 +39,7 @@ export default defineEventHandler(async (e) => {
|
||||
});
|
||||
|
||||
setResponseStatus(e, 201);
|
||||
return id;
|
||||
return { id, link: cryptURI('campaign', id) };
|
||||
}
|
||||
catch(_e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user