Update quickstart plugin skeleton

This commit is contained in:
lowlighter
2021-07-30 20:49:31 +02:00
parent 2312985627
commit 91ac38c7a4

View File

@@ -1,5 +1,5 @@
//Setup //Setup
export default async function({login, q, imports, data, computed, rest, graphql, queries, account}, {enabled = false} = {}) { export default async function({login, q, imports, data, computed, rest, graphql, queries, account}, {enabled = false} = {}) {
//Plugin execution //Plugin execution
try { try {
//Check if plugin is enabled and requirements are met //Check if plugin is enabled and requirements are met
@@ -12,4 +12,4 @@
catch (error) { catch (error) {
throw {error:{message:"An error occured", instance:error}} throw {error:{message:"An error occured", instance:error}}
} }
} }