Created At: 2026-11-19T06:52:14Z Completed At: 2026-11-19T06:52:14Z Command exited with code 0. Command output: 645: const handleSaveModuleConfig = async ( 646- newConfig: Record, 647- triggers?: { enable_command: boolean; enable_inline_button: boolean; enable_menu_button: boolean } 648- ) => { 649- if (!configuringModule) return; 650- setIsSavingConfig(true); 651- 652- try { 653- const token = localStorage.getItem('access_token'); 654- const headers: Record = { 'Content-Type': 'application/json' }; 655- if (token) headers['Authorization'] = `Bearer ${token}`; 656- 657- await fetch(`/api/v1/bots/${currentBotId}/modules/${configuringModule.id}/config`, { 658- method: 'PATCH', 659- headers, 660- body: JSON.stringify({ config: newConfig }), 661- }); 662- 663- if (triggers) { 664- await fetch(`/api/v1/bots/${currentBotId}/modules/${configuringModule.id}/triggers`, { 665- method: 'PATCH', 666- headers, 667- body: JSON.stringify(triggers), 668- }); 669- } 670- -- 1509: onSave={handleSaveModuleConfig} 1510- onClose={() => setConfiguringModule(null)} 1511- /> 1512- )} 1513- 1514- {/* CREATE REDEEM CODE MODAL */} 1515- {isCreateCodeOpen && ( 1516- 1517-
1518-
1519-
1520-
1521- 1522-

Create New Redeem Code

1523-
1524- 1531-
1532- 1533-
1534-