diff --git a/services/datagov.service.ts b/services/datagov.service.ts index f1562ac..544c8b2 100644 --- a/services/datagov.service.ts +++ b/services/datagov.service.ts @@ -142,6 +142,10 @@ export default class DatagovService extends moleculer.Service { externalId: entry._id, }; + if (entry.uuid) { + event.url = `https://infostatyba.planuojustatau.lt/eInfostatyba-external/projectObject/projectObjectMain?uuid=${entry.uuid}`; + } + stats.valid.total++; const existingEvent: Event = await ctx.call('events.findOne', {