Skip to content

Commit

Permalink
fix: bad find/replace
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbyg603 committed Aug 27, 2024
1 parent ba96fd3 commit 1462228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crash/crash-api-client/crash-api-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('CrashApiClient', () => {
});

it('should call fetch with correct route', () => {
expect(fakeBugSplatApiClient.fetch).toHaveBeenCalledWith('/api/crash/details/reprocess', jasmine.anything());
expect(fakeBugSplatApiClient.fetch).toHaveBeenCalledWith('/api/crash/reprocess', jasmine.anything());
});

it('should call form data append with processor if provided', async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/crash/crash-api-client/crash-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class CrashApiClient {
duplex: 'half'
} as RequestInit;

const response = await this._client.fetch<ReprocessCrashResponse>('/api/crash/details/reprocess', init);
const response = await this._client.fetch<ReprocessCrashResponse>('/api/crash/reprocess', init);
const json = await response.json();

if (response.status !== 202) {
Expand Down

0 comments on commit 1462228

Please sign in to comment.