diff options
author | Yigit Sever | 2021-04-13 04:51:19 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-13 04:51:19 +0300 |
commit | 8b50bf2e66f02e64e7fbec8079094bafb5ccdc6a (patch) | |
tree | 615f6254a326077f83aa5200c822bceb823696e0 /src/bin | |
parent | 0158bc39981a751d53e2d12633d179d22484c791 (diff) | |
download | gradecoin-8b50bf2e66f02e64e7fbec8079094bafb5ccdc6a.tar.gz gradecoin-8b50bf2e66f02e64e7fbec8079094bafb5ccdc6a.tar.bz2 gradecoin-8b50bf2e66f02e64e7fbec8079094bafb5ccdc6a.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 | } |