mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix search command always showing non-premium account warning message
This commit is contained in:
parent
5634ce3277
commit
52da6eacc9
3 changed files with 68 additions and 8 deletions
|
|
@ -103,7 +103,7 @@ pub struct Search {
|
|||
|
||||
impl Execute for Search {
|
||||
async fn execute(self, ctx: Context) -> Result<()> {
|
||||
if !ctx.crunchy.premium() {
|
||||
if !ctx.crunchy.premium().await {
|
||||
warn!("Using `search` anonymously or with a non-premium account may return incomplete results")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue