Skip to content

Commit

Permalink
add answer to discussion query
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Oct 21, 2024
1 parent 778ccb7 commit 88d9fe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lua/octo/gh/graphql.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2203,6 +2203,10 @@ query($endCursor: String) {
number
closed
isAnswered
answer {
author { login }
body
}
title
body
createdAt
Expand Down
2 changes: 1 addition & 1 deletion lua/octo/pickers/telescope/previewers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ local discussion = defaulter(function(opts)
--
--
writers.write_body(bufnr, obj, 11)
--

-- local reactions_line = vim.api.nvim_buf_line_count(bufnr) - 1
-- writers.write_block(bufnr, { "", "" }, reactions_line)
-- writers.write_reactions(bufnr, obj.reactionGroups, reactions_line)
Expand Down

0 comments on commit 88d9fe8

Please sign in to comment.