Remove unnecessary logging

This commit is contained in:
gohoski
2025-01-06 06:08:04 +03:00
parent 7da7ac6ae2
commit 64b41508d4
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -156,7 +156,6 @@ class SunoApi {
const newToken = renewResponse.data.jwt;
// Update Authorization field in request header with the new JWT token
this.currentToken = newToken;
logger.info(this.currentToken);
}
/**
@@ -278,9 +277,6 @@ class SunoApi {
const page = await browser.newPage();
await page.goto('https://suno.com/create', { referer: 'https://www.google.com/', waitUntil: 'domcontentloaded', timeout: 0 });
page.on('request', request => console.log('>>', request.method(), request.url()));
page.on('response', response => console.log('<<', response.status(), response.url()));
logger.info('Waiting for Suno interface to load');
await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 });