祝您一切顺利,我是Twillio Flex的新手,并被困在寻找CHAT_SERVICE_SID和FLEX_FLOW_SID(短信FlexFlow Sid)上。
我当时在考虑应该在Twillio控制台的API Keys
下的Runtime
下创建一个新的sid
还是可以参考的任何实际的const practice = await PracticeModel.findById(currentUser.activePractice).populate({path:"workschedule", populate: {path: "days", populate: [{ model: "Shift", path: "Shift"}]}})
export const WorkscheduleSchema = new Schema({
days: [[
{
type: mongoose.Schema.Types.ObjectId,
ref: 'Shift'
}
]]
}, {
versionKey: false
})
I expect something in the lines of {days: [[{_id: "febhbvjrv",
start_time: "date_time_here"},{_id: "fennziefnifer", start_time: "date_time_here}]]}
。任何帮助将不胜感激