Skip to content

Commit 55f13e7

Browse files
committed
Remove TODO
This error check seems to be enough for now
1 parent 1b96144 commit 55f13e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/lib/api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,7 +2275,6 @@ export class BitbucketAPI extends API {
22752275
}
22762276

22772277
protected override checkTokenInvalidated(response: Response) {
2278-
// TODO: Improve this check. What happens if auth fails?
22792278
if (response.status === 401) {
22802279
API.emitTokenInvalidated(this.endpoint, this.token)
22812280
}
@@ -2440,8 +2439,7 @@ export class BitbucketAPI extends API {
24402439
state: 'open' | 'closed' | 'all',
24412440
_since: Date | null
24422441
): Promise<ReadonlyArray<IAPIIssue>> {
2443-
// TODO: I didn't find a way to filter issues by by date (since), feel free to
2444-
// implement this if you know how to do it.
2442+
// TODO: I don't have any way to test this since we don't use Bitbucket's built in issue tracker. Feel free to implement date filtering (since) if you need it.
24452443
const QUERY_ALL = ''
24462444
const QUERY_OPEN = 'state="new" OR state="open" OR state="submitted"'
24472445
const QUERY_CLOSED =

0 commit comments

Comments
 (0)