You've already forked AstralRinth
forked from didirus/AstralRinth
Add way to fetch team members (#89)
* Add way to fetch team members, fix files not being returned with version route * Make it compile * Fixes * Use default error handling
This commit is contained in:
@@ -6,6 +6,7 @@ mod mod_creation;
|
||||
mod mods;
|
||||
mod not_found;
|
||||
mod tags;
|
||||
mod teams;
|
||||
mod users;
|
||||
mod version_creation;
|
||||
mod versions;
|
||||
@@ -52,6 +53,10 @@ pub fn users_config(cfg: &mut web::ServiceConfig) {
|
||||
);
|
||||
}
|
||||
|
||||
pub fn teams_config(cfg: &mut web::ServiceConfig) {
|
||||
cfg.service(web::scope("team").service(teams::team_members_get));
|
||||
}
|
||||
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
pub enum ApiError {
|
||||
#[error("Internal server error")]
|
||||
|
||||
Reference in New Issue
Block a user