Skip to content

Commit a800d21

Browse files
committed
fix: changed database import in middleware
1 parent a067517 commit a800d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fplus-http-server/src/middleware/gh_auth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use reqwest::Client;
77
use serde::Deserialize;
88

99
// Import any other modules that you reference in this file
10-
use fplus_database::database;
10+
use fplus_database::database::allocators::get_allocator;
1111
#[derive(Deserialize, Debug)]
1212
struct RepoQuery {
1313
owner: String,
@@ -106,7 +106,7 @@ where
106106
}
107107
}
108108

109-
match database::get_allocator(&owner, &repo).await {
109+
match get_allocator(&owner, &repo).await {
110110
Ok(allocator) => {
111111
if let Some(allocator) = &allocator {
112112
if let Some(verifiers) = &allocator.verifiers_gh_handles {

0 commit comments

Comments
 (0)