File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
415415 return { error : "Rate limit exceeded" } ;
416416 }
417417 const start = + new Date ( ) ;
418- const STUB_MODE = true ;
418+ const STUB_MODE = false ;
419419 const record = await this . adminforth . resource ( this . resourceConfig . resourceId ) . get ( [ Filters . EQ ( this . resourceConfig . columns . find ( c => c . primaryKey ) ?. name , Id ) ] ) ;
420420 let attachmentFiles
421421 if ( ! this . options . attachFiles ) {
@@ -460,7 +460,7 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
460460 path : `/plugin/${ this . pluginInstanceId } /initial_image_generate` ,
461461 handler : async ( { body, headers } ) => {
462462 const selectedIds = body . selectedIds || [ ] ;
463- const STUB_MODE = true ;
463+ const STUB_MODE = false ;
464464 if ( typeof ( this . options . rateLimits . generateImages ) === 'string' ) {
465465 if ( this . checkRateLimit ( "generateImages" , this . options . rateLimits . generateImages , headers ) ) {
466466 return { error : "Rate limit exceeded" } ;
You can’t perform that action at this time.
0 commit comments