]> Untitled Git - lemmy.git/commit
Some more API cleanup.
authorDessalines <tyhou13@gmx.com>
Wed, 22 Jul 2020 18:20:08 +0000 (14:20 -0400)
committerDessalines <tyhou13@gmx.com>
Wed, 22 Jul 2020 18:20:08 +0000 (14:20 -0400)
commit59da2976abfc26268ee129424e1f8049cc5538ae
treea998a02cd39063e791382240dac7c1732fd80f02
parentb6a6d52a92cb86d4cbcbe313254defb651b12b29
Some more API cleanup.

- Extracted methods for is_mod_or_admin, and is_admin.
- Removed admins from GetPostResponse and GetCommunityResponse.
- Some cleanup.
docs/src/contributing_websocket_http_api.md
server/src/api/comment.rs
server/src/api/community.rs
server/src/api/mod.rs
server/src/api/post.rs
server/src/api/site.rs
server/src/api/user.rs
ui/src/components/community.tsx
ui/src/components/post.tsx
ui/src/interfaces.ts