feat: transloadit no key wrror

This commit is contained in:
Nevo David 2025-07-07 13:05:15 +07:00
parent 9a9970bc5f
commit c7ccf37a94
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ import { FalService } from '@gitroom/nestjs-libraries/openai/fal.service';
const limit = pLimit(2);
const transloadit = new Transloadit({
authKey: process.env.TRANSLOADIT_AUTH,
authSecret: process.env.TRANSLOADIT_SECRET,
authKey: process.env.TRANSLOADIT_AUTH || 'just empty text',
authSecret: process.env.TRANSLOADIT_SECRET || 'just empty text',
});
async function getAudioDuration(buffer: Buffer): Promise<number> {