유명현

FIX: resolve <const> config + Refactor unessential code (console.log)

......@@ -2,7 +2,7 @@ const express = require("express");
const line = require("@line/bot-sdk");
const fs = require("fs");
const { handleEvent } = require("./chatbot/index");
const { config } = require("./chatbot/index");
// const { config } = require("./chatbot/index");
const { sequelize } = require("./models");
const database = require("./apis/database");
......
......@@ -53,7 +53,8 @@ function handleEvent(event) {
"RTX 3080",
"1000000",
"https://dnvefa72aowie.cloudfront.net/origin/article/202205/94cdd237258671d5806a70f64ab2b3c7dcd790da0384b394ef5809fe10c08ced.webp?q=95&s=1440x1440&t=inside",
"https://www.daangn.com/articles/403755360"
"https://www.daangn.com/articles/403755360",
"test설명"
),
})
);
......@@ -66,7 +67,6 @@ function handleEvent(event) {
if (found == -1) {
return Promise.resolve(
marketMultiSearch(event.message.text).then((res) => {
console.log(setCarouselMessage(res));
client.pushMessage(event.source.userId, setCarouselMessage(res));
})
);
......