aboutsummaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
authorYigit Sever2021-05-10 20:24:52 +0300
committerYigit Sever2021-05-10 20:24:52 +0300
commit11e38a82bd6fd9579f7947a0230f1f0afb422257 (patch)
treecbedbf2d0124120b1e98d170e52b15bf5c0a172b /src/schema.rs
parent2296570f98d8cc3d3094a5c1af0105ad427d5f71 (diff)
downloadgradecoin-11e38a82bd6fd9579f7947a0230f1f0afb422257.tar.gz
gradecoin-11e38a82bd6fd9579f7947a0230f1f0afb422257.tar.bz2
gradecoin-11e38a82bd6fd9579f7947a0230f1f0afb422257.zip
Lazyload the private key
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 77e22c1..bbd4628 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -315,6 +315,7 @@ pub struct InitialAuthRequest {
315 pub key: String, 315 pub key: String,
316} 316}
317 317
318// Students who are authorized to have Gradecoin accounts
318lazy_static! { 319lazy_static! {
319 static ref OUR_STUDENTS: HashSet<(&'static str, &'static str)> = { 320 static ref OUR_STUDENTS: HashSet<(&'static str, &'static str)> = {
320 [ 321 [