Replies: 1 comment 4 replies
-
you refer to this one. https://github.com/verdaccio/verdaccio/blob/6.x/src/lib/notify/index.ts#L81 Docs says Maybe is a bug, I'll convert it to issue to check more in detail, please share full info, config file example specially. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Verdaccio team,
I’m using the
notify
hook for triggering a webhook on publish. I noticed that in the hook (notify.ts
), thepublisher
object passed into the Handlebars template only includes:publisher: {
name: remoteUser.name
}
But both groups and real_groups are missing/empty when I try to use them in the notify content template in config.yaml.
How can I access the full RemoteUser object inside the notify template, including real_groups?
Beta Was this translation helpful? Give feedback.
All reactions