File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,17 @@ export default {
4949 } ,
5050 async run ( { $ } ) {
5151 if ( ! this . allowStepsOverride && this . templateId && this . steps ) {
52- throw new Error ( "Either 'templateId' or 'steps' must be provided, not both." ) ;
52+ throw new ConfigurationError ( "Either 'templateId' or 'steps' must be provided, not both." ) ;
5353 }
5454 if ( ! this . templateId && ! this . steps ) {
55- throw new Error ( "Either 'templateId' or 'steps' must be provided." ) ;
55+ throw new ConfigurationError ( "Either 'templateId' or 'steps' must be provided." ) ;
5656 }
5757
5858 try {
5959 const response = await this . transloadit . createAssembly ( {
6060 params : {
6161 template_id : this . templateId ,
6262 steps : parseObject ( this . steps ) ,
63- fields : this . fields ,
6463 notify_url : this . notifyUrl ,
6564 allow_steps_override : this . allowStepsOverride ,
6665 quiet : this . quiet ,
File renamed without changes.
Original file line number Diff line number Diff line change 11import Transloadit from "transloadit" ;
2- import { LIMIT } from "../.. /common/constants.mjs" ;
2+ import { LIMIT } from "./common/constants.mjs" ;
33
44export default {
55 type : "app" ,
You can’t perform that action at this time.
0 commit comments