Matheus Anciloto
Matheus Anciloto
Hey there, I'm developing an action that can send an e-mail if the user wish to. The problem that I tried to solve was to get the user e-mail, the...
**Custom code:** ``` export default (_xyz) => (layer) => (feature) => { const properties = feature.getProperties(); const geometryType = feature.getGeometry().getType(); if (layer.featureLookup) { // modify properties Object.entries(layer.featureLookup).map((entry) => { let...
Adding methods for custom symbols to svg_symbols utils. ``` function clusterSummary(style, feature) { const properties = feature.getProperties(); const { cat } = properties; if (!cat) return null; const themeCat =...
Objects will be sanitized when provided in the request post body sent to the location/update API. ``` const sanitize = (obj) => { Object.keys(obj).forEach((key) => { if (typeof obj[key] ===...
Commonplace added the getDynamicWorkspace method to the workspace cache module. ``` module.exports = async (req) => { if (process.env.WORKSPACE === "dynamic") { return await getDynamicWorkspace(req); } } async function getDynamicWorkspace(req)...
**Custom code:** ``` const dbs = require('../dbs')(); const sql_filter = require('../sql_filter') const Roles = require('../roles.js') module.exports = async (req, res) => { const layer = req.params.layer; let geom = layer.geom,...
### Mage version 0.9.72 ### Describe the bug I have a streaming pipeline that receives kafka messages, transforms it and then it goes to a postgres data exporter block (which...