We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f404037 commit 99d9295Copy full SHA for 99d9295
packages/core/api-public/src/ctx.rs
@@ -31,7 +31,7 @@ impl ApiCtx {
31
32
self.authentication_handled.store(true, Ordering::Relaxed);
33
34
- if self.token.as_ref() == Some(&auth.admin_token) {
+ if self.token.as_ref() == Some(auth.admin_token.read()) {
35
Ok(())
36
} else {
37
Err(rivet_api_builder::ApiForbidden.build())
0 commit comments