const repository = require('../../src/services/repository'); module.exports = () => { for (const note of repository.getEntities("SELECT * FROM notes WHERE type = 'text' AND isProtected = 0")) { try { let origContent = note.getContent(); const newContent = origContent .replace(/