fix: update message helper reference hotfix (#30)

* forgot to update a reference in messageHelper to memberRepo instead of memberHelper

* turned off data-source logging

---------

Co-authored-by: Aster Fialla <asterfialla@gmail.com>
This commit is contained in:
2026-03-02 08:50:41 -05:00
committed by GitHub
parent aeb7d88ee9
commit 21587dcb7a
3 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
const {memberHelper} = require('./memberHelper.js');
const {memberRepo} = require('../repositories/memberRepo.js');
const msgh = {};
@@ -39,7 +39,7 @@ msgh.parseCommandArgs = function(content, commandName) {
* @returns {Promise<{model, string, bool}>} The proxy message object.
*/
msgh.parseProxyTags = async function (authorId, content, attachmentUrl = null){
const members = await memberHelper.getMembersByAuthor(authorId);
const members = await memberRepo.getMembersByAuthor(authorId);
// If an author has no members, no sense in searching for proxy
if (members.length === 0) {
return;