diff options
author | Yigit Sever | 2021-04-13 04:51:19 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-13 04:51:19 +0300 |
commit | 116af4059f43eb3986b54fee080af9f67c247472 (patch) | |
tree | 387c03347f7d72fe949861518cfc606759b4c4a2 /src/bin | |
parent | 14b6904f00a17d3d6757a7e5222df966aa37fa35 (diff) | |
download | gradecoin-116af4059f43eb3986b54fee080af9f67c247472.tar.gz gradecoin-116af4059f43eb3986b54fee080af9f67c247472.tar.bz2 gradecoin-116af4059f43eb3986b54fee080af9f67c247472.zip |
Require authorization for Block POST
Not tested because it's impossible to follow without verbose error
messages, failing 1 test
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.rs b/src/bin/main.rs index 8d88286..598a2e1 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs | |||
@@ -8,7 +8,7 @@ use gradecoin::schema::create_database; | |||
8 | 8 | ||
9 | #[tokio::main] | 9 | #[tokio::main] |
10 | async fn main() { | 10 | async fn main() { |
11 | // Show debug logs by default by setting `RUST_LOG=restful_rust=debug` | 11 | // Show debug logs by default by setting `RUST_LOG=gradecoin=debug` |
12 | if env::var_os("RUST_LOG").is_none() { | 12 | if env::var_os("RUST_LOG").is_none() { |
13 | env::set_var("RUST_LOG", "gradecoin=debug"); | 13 | env::set_var("RUST_LOG", "gradecoin=debug"); |
14 | } | 14 | } |