Skip to content

Commit

Permalink
fix: 스터디 종료 수료증 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lopahn2 committed Oct 27, 2023
1 parent 23a6788 commit f38373a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/funcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ export const certificatedPdfController = async (html, fileName, email) => {
// Create a browser instance
const browser = await puppeteer.launch({
headless: "new",
protocolTimeout: 60000, // 이건 다른 에러때문에 넣어놓은 옵션
args: ["--no-sandbox", "--disable-setuid-sandbox", "--enable-gpu"],
});
// Create a new page
const page = await browser.newPage();
Expand Down
4 changes: 4 additions & 0 deletions service/consumer/stopStudyService.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ export const stopStudyService = async (data) => {
) {
continue;
}

console.log(
`${memberName}의 수료증 제작 시작------------------------------`
);
const certificatedHtml = certificatedHtmlProvider(
data.suite_room_id,
data.title,
Expand Down

0 comments on commit f38373a

Please sign in to comment.