fix deployment of producer

This commit is contained in:
Emily
2025-04-25 22:46:33 +02:00
parent 6a157b81c9
commit b709ad285a
2 changed files with 1 additions and 3 deletions

View File

@@ -610,8 +610,6 @@ function isBot(userAgent: string) {
export async function isAllowedToLog(project_id: string, website: string, ip: string, userAgent: string) {
console.log({ userAgent });
const blacklistData = await AddressBlacklistModel.find({ project_id }, { address: 1 });
for (const blacklistedData of blacklistData) {
if (blacklistedData.address == ip) return false;