From 15a01a7a7f6a69120df30c632faf3531cd3e4479 Mon Sep 17 00:00:00 2001 From: Raees Rajwani Date: Sun, 16 May 2021 00:18:44 +0530 Subject: [PATCH] Add support for premium questions --- src/cache/mod.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/cache/mod.rs b/src/cache/mod.rs index 00c2a8d..8ad0f82 100644 --- a/src/cache/mod.rs +++ b/src/cache/mod.rs @@ -90,12 +90,6 @@ impl Cache { )); } - if p.locked { - return Err(Error::FeatureError( - "Not support premium question for now".to_string(), - )); - } - Ok(p) } @@ -129,12 +123,6 @@ impl Cache { )); } - if target.locked { - return Err(Error::FeatureError( - "Not support premium question for now".to_string(), - )); - } - let mut rdesc = Question::default(); if !target.desc.is_empty() { rdesc = serde_json::from_str(&target.desc)?;