Node.js &引用;参数类型错误“;使用pull mongoose更新阵列

Node.js &引用;参数类型错误“;使用pull mongoose更新阵列,node.js,mongodb,express,mongoose,Node.js,Mongodb,Express,Mongoose,此处显示了参数类型错误: 我的代码id: export const DeleteConferencePageByID = async (Request, Response) => { const ConferencePageForceDelete = await ConferencePages.findByIdAndDelete(Request.params.ConferencePageID).then(async (ConferencePage) => {

此处显示了参数类型错误:

我的代码id:

export const DeleteConferencePageByID = async (Request, Response) => {
    const ConferencePageForceDelete = await ConferencePages.findByIdAndDelete(Request.params.ConferencePageID).then(async (ConferencePage) => {

        // Remove Page From Conference
        await Conferences.findByIdAndUpdate(ConferencePageForceDelete.conference_id,
            { $pull: { conference_pages: ConferencePage._id } },
            { multi : true }
        );

        return ConferencePage
    });

    // Response
    Response.status(200).json({
        data: ConferencePageForceDelete,
        message: "Conference Page Has Been Force Deleted"
    });
}
有两个错误 错误1: 参数类型{$pull:{conference_pages}}不可分配给参数类型UpdateQuery

错误2: 参数类型{multi:boolean}不可分配给参数类型QueryOptions&{rawResult:true}