Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 457a412

Browse files
Add support for premium questions (clearloop#36)
1 parent f83466f commit 457a412

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

‎src/cache/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ impl Cache {
9090
));
9191
}
9292

93-
if p.locked {
94-
return Err(Error::FeatureError(
95-
"Not support premium question for now".to_string(),
96-
));
97-
}
98-
9993
Ok(p)
10094
}
10195

@@ -129,12 +123,6 @@ impl Cache {
129123
));
130124
}
131125

132-
if target.locked {
133-
return Err(Error::FeatureError(
134-
"Not support premium question for now".to_string(),
135-
));
136-
}
137-
138126
let mut rdesc = Question::default();
139127
if !target.desc.is_empty() {
140128
rdesc = serde_json::from_str(&target.desc)?;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /