Merge pull request #4637 from urbit/lf/dm-fix

metadata-push-hook: do not crash on new hidden metadata
This commit is contained in:
matildepark 2021-03-22 20:48:30 -04:00 committed by GitHub
commit f81e36317a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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