Skip to content

Commit

Permalink
[fix] api 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jainefer committed Feb 26, 2024
1 parent c26f700 commit 5a9e181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/team.dao.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const getPodcastScriptInformation=async(data)=>{
let teamNumber=Number(data.team)

const scriptCollection= conn.collection('script');
const scriptData= await scriptCollection.find({team_id:data.team,type_name:"팟캐스트"}).toArray()
const scriptData= await scriptCollection.find({team_id:teamNumber,type_name:"팟캐스트"}).toArray()
console.log("스크립트",scriptData);
const usersCollection= conn.collection('player');
const usersData=[];
Expand Down

0 comments on commit 5a9e181

Please sign in to comment.