chore: code formatting
This commit is contained in:
@@ -3,7 +3,7 @@ export default async function({q, data, imports, account}, {enabled = false} = {
|
||||
//Plugin execution
|
||||
try {
|
||||
//Check if plugin is enabled and requirements are met
|
||||
if ((!enabled)||(!q.fortune))
|
||||
if ((!enabled) || (!q.fortune))
|
||||
return null
|
||||
|
||||
//Load inputs
|
||||
@@ -42,4 +42,4 @@ export default async function({q, data, imports, account}, {enabled = false} = {
|
||||
catch (error) {
|
||||
throw {error:{message:"An error occured", instance:error}}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user