Skip to content

Commit d36fa46

Browse files
committed
sdfasf
1 parent 1a174fa commit d36fa46

File tree

1 file changed

+2
-0
lines changed
  • src/sentry/static/sentry/app

1 file changed

+2
-0
lines changed

src/sentry/static/sentry/app/api.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ type FunctionCallback<Args extends any[] = any[]> = (...args: Args) => void;
9292
type RequestCallbacks = {
9393
success?: (data: any, textStatus?: string, xhr?: JQueryXHR) => void;
9494
complete?: (jqXHR: JQueryXHR, textStatus: string) => void;
95+
// TODO: refine this type later
9596
error?: FunctionCallback;
9697
};
9798

@@ -118,6 +119,7 @@ export class Client {
118119
* Check if the API response says project has been renamed.
119120
* If so, redirect user to new project slug
120121
*/
122+
// TODO: refine this type later
121123
hasProjectBeenRenamed(response: JQueryXHR) {
122124
const code = get(response, 'responseJSON.detail.code');
123125

0 commit comments

Comments
 (0)