Skip to content

Commit 6d6a270

Browse files
committed
fix: rebuild
1 parent 34c2735 commit 6d6a270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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" };

0 commit comments

Comments
 (0)