Nodejs:TypeError: xxxxx is not a function or its return value is not iterable

1.Error

/opt/PrivateInvoice1/705r/routes/invite.js:76
const [rows, err2] = getContactListByMember_did( contactType, myPosition, req.session.data.member_did); ^ TypeError: getContactListByMember_did is not a function or its return value is not iterable

2.getContactListByMember_did
以下で、moduleを呼び出し
const {getContactListByMember_did} = require(“../modules/contacts_in.js”);

・contacts_in.jsではasync functionとして定義

3.原因
await の付け忘れ

4.修正後

const [rows, err2] = await getContactListByMember_did( contactType, myPosition, req.session.data.member_did);