Skip to content

Commit

Permalink
Fix subspell compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Jul 26, 2024
1 parent dd9dea5 commit 6c49a7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const runSubspell = makeMagickAsyncNodeDefinition({
const spellName = configuration.spellName
const spellId = configuration.spellId

if (!spellId || !spellName) {
if (!spellId && !spellName) {
throw new Error('No spellId or spellName provided')
}

Expand Down

0 comments on commit 6c49a7d

Please sign in to comment.