Update API key usage and credit checking logic for comic generation
This commit is contained in:
@@ -140,7 +140,7 @@ export async function POST(request: NextRequest) {
|
||||
});
|
||||
|
||||
const client = new Together({
|
||||
apiKey: process.env.TOGETHER_API_KEY_DEFAULT,
|
||||
apiKey: process.env.TOGETHER_API_KEY,
|
||||
});
|
||||
|
||||
let response;
|
||||
|
||||
Reference in New Issue
Block a user