From 55823c5d5d2e61ec6a233e16fd67f5c16aaebf5b Mon Sep 17 00:00:00 2001 From: Quentin de Quelen Date: Thu, 14 Feb 2019 16:36:03 +0100 Subject: [PATCH] feat: add admin key on config --- src/database/config.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/database/config.rs b/src/database/config.rs index 653ef1878..ef1b6ebb4 100644 --- a/src/database/config.rs +++ b/src/database/config.rs @@ -10,8 +10,9 @@ pub enum RankingOrdering { #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct AccessToken { - pub token: String, - pub secret_key: String, + pub read_key: String, + pub write_key: String, + pub admin_key: String, }