Skip to content

Commit

Permalink
Merge pull request #171 from KU-niverse/feature/get_updated_docs
Browse files Browse the repository at this point in the history
Fix: changed->updated로 변경
  • Loading branch information
youngsupchoi authored Feb 25, 2024
2 parents 3275de2 + 6f107cc commit 94e37ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/wikiController.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ exports.allTextsGetMid = async (req, res) => {
}
};

exports.changedTextsGetMid = async (req, res) => {
exports.updatedTextsGetMid = async (req, res) => {
try {
const check_period = 3;
const title_rows = await Wiki.Wiki_docs.getUpdatedWikiDocs(check_period);
Expand Down
2 changes: 1 addition & 1 deletion routes/wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ router.get("/contributions/:title(*)", wikiCont.contributionGetMid);
router.put("/badhis/:hisid", isAdmin, wikiCont.badHistoryPutMid);

// AI 학습용 문서 변경된 것만 불러오기
router.get("/pipeline/changed", wikiCont.changedTextsGetMid);
router.get("/pipeline/updated", wikiCont.updatedTextsGetMid);

// AI 학습용 문서 모두 불러오기
// TODO: 꼭 AI 측에서만 호출할 수 있도록 만들어야 할듯
Expand Down

0 comments on commit 94e37ff

Please sign in to comment.