httpd: Update stats to count all projects, and amount of users followed
Instead of filtering private projects for a total project count, we should count all projects, even private ones.
Also instead of showing a user count of 0, I think we should display how many users a node is following.
1 file changed
+3
-17
955c942c
→
98bb9168
modified radicle-httpd/src/api/v1/stats.rs
@@ -2,7 +2,6 @@ use axum::extract::State;
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -17,12 +16,9 @@ pub fn router(ctx: Context) -> Router {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -39,16 +35,6 @@ mod routes {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|