metadata-push-hook: correct association key

Fixes urbit/landscape#405
This commit is contained in:
Liam Fitzgerald 2021-02-16 11:17:04 +10:00
parent a9d2381d0e
commit a4d717030d
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -64,7 +64,7 @@
=/ role=(unit (unit role-tag))
(role-for-ship:grp group.update src.bowl)
=/ =metadatum:store
(need (peek-metadatum:met %contacts group.update))
(need (peek-metadatum:met %groups group.update))
?~ role %.n
?^ u.role
?=(?(%admin %moderator) u.u.role)