Skip to content

Commit 5193d1e

Browse files
committed
add todo for future branch
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 9533d7e commit 5193d1e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/renderer/utils/api/client.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ import type {
1919
ListNotificationsForAuthenticatedUserResponse,
2020
MarkNotificationThreadAsDoneResponse,
2121
MarkNotificationThreadAsReadResponse,
22-
NotificationThreadSubscription,
23-
RawCommit,
24-
RawCommitComment,
25-
RawGitHubNotification,
26-
RawRelease,
2722
} from './types';
2823

2924
import { isAnsweredDiscussionFeatureSupported } from '../features';
@@ -185,9 +180,11 @@ export function getRelease(
185180

186181
/**
187182
* Get the `html_url` from the GitHub response
183+
*
188184
*/
189185
export async function getHtmlUrl(url: Link, token: Token): Promise<string> {
190186
try {
187+
// TODO - Add explicit type for response shape
191188
const response = (await apiRequestAuth(url, 'GET', token)).data;
192189

193190
return response.html_url;

0 commit comments

Comments
 (0)