浏览代码

Fix panic on major change topic creation

Mark Rousskov 4 年之前
父节点
当前提交
832287f4cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/github.rs

+ 1 - 1
src/github.rs

@@ -355,7 +355,7 @@ impl Issue {
         ZulipGitHubReference {
             number: self.number,
             title: self.title.clone(),
-            repository: self.repository.get().unwrap().clone(),
+            repository: self.repository().clone(),
         }
     }