Skip to content

Commit bf6165d

Browse files
fix(issues): list all statuses (#29)
close #28
1 parent d0a5d74 commit bf6165d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use dashmap::DashMap;
22
use octocrab::models::issues::Issue;
33
use octocrab::models::{Author, Repository};
4+
use octocrab::params::State;
45
use octocrab::Octocrab;
56
use ropey::Rope;
67
use tower_lsp::jsonrpc::Result;
@@ -261,6 +262,7 @@ impl Backend {
261262
.octocrab
262263
.issues(&self.owner, &self.repo)
263264
.list()
265+
.state(State::All)
264266
.per_page(Backend::PER_PAGE)
265267
.page(page)
266268
.send()

0 commit comments

Comments
 (0)