You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -123,7 +123,8 @@ pub fn users_config(cfg: &mut web::ServiceConfig) {
|
||||
.service(users::user_edit)
|
||||
.service(users::user_icon_edit)
|
||||
.service(users::user_notifications)
|
||||
.service(users::user_follows),
|
||||
.service(users::user_follows)
|
||||
.service(users::user_payouts),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -168,7 +169,12 @@ pub fn reports_config(cfg: &mut web::ServiceConfig) {
|
||||
}
|
||||
|
||||
pub fn admin_config(cfg: &mut web::ServiceConfig) {
|
||||
cfg.service(web::scope("admin").service(admin::count_download));
|
||||
cfg.service(
|
||||
web::scope("admin")
|
||||
.service(admin::count_download)
|
||||
.service(admin::process_payout)
|
||||
.service(admin::get_payout_data),
|
||||
);
|
||||
}
|
||||
|
||||
pub fn midas_config(cfg: &mut web::ServiceConfig) {
|
||||
|
||||
Reference in New Issue
Block a user