Skip to content

Commit 70a483a

Browse files
update lock
1 parent 906dd06 commit 70a483a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handlers/http/rbac.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use tokio::sync::Mutex;
4545
use super::modal::utils::rbac_utils::{get_metadata, put_metadata};
4646

4747
// async aware lock for updating storage metadata and user map atomically
48-
pub(crate) static UPDATE_LOCK: Mutex<()> = Mutex::const_new(());
48+
pub static UPDATE_LOCK: Mutex<()> = Mutex::const_new(());
4949

5050
#[derive(serde::Serialize)]
5151
struct User {

0 commit comments

Comments
 (0)