fix(pr-threads): 修正留言端點預覽
留言共用 iterator 已改走 timeline,預覽只列一次該端點,避免把端點種類誤報成重複請求。
This commit is contained in:
@@ -51,7 +51,6 @@ export function plannedRequests(repo, index) {
|
|||||||
{ method: 'GET', path: pullPath },
|
{ method: 'GET', path: pullPath },
|
||||||
{ method: 'GET', path: `/repos/${repo}/issues/${index}/timeline` },
|
{ method: 'GET', path: `/repos/${repo}/issues/${index}/timeline` },
|
||||||
{ method: 'GET', path: `${pullPath}/reviews` },
|
{ method: 'GET', path: `${pullPath}/reviews` },
|
||||||
{ method: 'GET', path: `/repos/${repo}/issues/${index}/timeline` },
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user