@openstax/ts-utils 1.24.5 → 1.24.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import queryString from 'query-string';
3
3
  import { v4 as uuid } from 'uuid';
4
4
  import { merge } from '../..';
5
5
  import { resolveConfigValue } from '../../config';
6
- import { ForbiddenError, SessionExpiredError, UnauthorizedError } from '../../errors';
6
+ import { SessionExpiredError, UnauthorizedError } from '../../errors';
7
7
  import { fetchStatusRetry } from '../../fetch/fetchStatusRetry';
8
8
  import { Level } from '../logger';
9
9
  /** Pulls the content out of a response based on the content type */
@@ -49,9 +49,6 @@ const makeRouteClient = (initializer, config, route, appProvider) => {
49
49
  if (response.status === 401) {
50
50
  throw new UnauthorizedError();
51
51
  }
52
- if (response.status === 403) {
53
- throw new ForbiddenError();
54
- }
55
52
  if (response.status === 440) {
56
53
  throw new SessionExpiredError();
57
54
  }