This commit is contained in:
parent
93b748a629
commit
50e41c8ed5
|
@ -98,16 +98,16 @@
|
||||||
(update :categories <-categories-rpc)
|
(update :categories <-categories-rpc)
|
||||||
(assoc :role-permissions?
|
(assoc :role-permissions?
|
||||||
(->> community
|
(->> community
|
||||||
:tokenPermissions
|
:token-permissions
|
||||||
vals
|
vals
|
||||||
(some role-permission?)))
|
(some role-permission?)))
|
||||||
(assoc :membership-permissions?
|
(assoc :membership-permissions?
|
||||||
(->> community
|
(->> community
|
||||||
:tokenPermissions
|
:token-permissions
|
||||||
vals
|
vals
|
||||||
(some membership-permission?)))
|
(some membership-permission?)))
|
||||||
(assoc :token-images
|
(assoc :token-images
|
||||||
(reduce (fn [acc {sym :symbol image :image}]
|
(reduce (fn [acc {sym :symbol image :image}]
|
||||||
(assoc acc sym image))
|
(assoc acc sym image))
|
||||||
{}
|
{}
|
||||||
(:communityTokensMetadata community))))))
|
(:tokens-metadata community))))))
|
||||||
|
|
Loading…
Reference in New Issue