mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 14:00:35 +00:00
fix compile
This commit is contained in:
@@ -6,7 +6,6 @@ use chrono::{Months, Utc};
|
|||||||
|
|
||||||
use crate::auth::get_user_from_headers;
|
use crate::auth::get_user_from_headers;
|
||||||
use crate::database::models::DBUserId;
|
use crate::database::models::DBUserId;
|
||||||
use crate::database::redis::RedisPool;
|
|
||||||
use crate::database::{PgPool, ReadOnlyPgPool};
|
use crate::database::{PgPool, ReadOnlyPgPool};
|
||||||
use crate::models::pats::Scopes;
|
use crate::models::pats::Scopes;
|
||||||
use crate::models::payout_runs::{Adjustment, PayoutRun, PayoutRunStatus};
|
use crate::models::payout_runs::{Adjustment, PayoutRun, PayoutRunStatus};
|
||||||
@@ -14,6 +13,7 @@ use crate::queue::session::AuthQueue;
|
|||||||
use crate::routes::ApiError;
|
use crate::routes::ApiError;
|
||||||
use crate::util::error::Context;
|
use crate::util::error::Context;
|
||||||
use crate::util::time::YearMonth;
|
use crate::util::time::YearMonth;
|
||||||
|
use xredis::RedisPool;
|
||||||
|
|
||||||
pub fn config(cfg: &mut web::ServiceConfig) {
|
pub fn config(cfg: &mut web::ServiceConfig) {
|
||||||
cfg.service(get);
|
cfg.service(get);
|
||||||
|
|||||||
Reference in New Issue
Block a user