Skip to content

Commit

Permalink
chore(deps-dev): bump prettier from 2.8.2 to 3.3.2 in /taxonomy-edito…
Browse files Browse the repository at this point in the history
…r-frontend (#508)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.2 to
3.3.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/releases">prettier's
releases</a>.</em></p>
<blockquote>
<h2>3.3.2</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#332">Changelog</a></p>
<h2>3.3.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#331">Changelog</a></p>
<h2>3.3.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.2.5...3.3.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2024/06/01/3.3.0.html">Release
note</a></p>
<h2>3.2.5</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#325">Changelog</a></p>
<h2>3.2.4</h2>
<ul>
<li>Fix <code>.eslintrc.json</code> format <a
href="https://redirect.github.com/prettier/prettier/issues/15947">#15947</a></li>
</ul>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#324">Changelog</a></p>
<h2>3.2.3</h2>
<ul>
<li>Format <code>tsconfig.json</code> file with <code>jsonc</code>
parser <a
href="https://redirect.github.com/prettier/prettier/issues/15927">#15927</a></li>
</ul>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#323">Changelog</a></p>
<h2>3.2.2</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#322">Changelog</a></p>
<h2>3.2.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#321">Changelog</a></p>
<h2>3.2.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.1.1...3.2.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2024/01/12/3.2.0.html">Release
note</a></p>
<h2>3.1.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#311">Changelog</a></p>
<h2>3.1.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.0.3...3.1.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2023/11/13/3.1.0.html">Release
note</a></p>
<h2>3.0.3</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#303">Changelog</a></p>
<h2>3.0.2</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#302">Changelog</a></p>
<h2>3.0.1</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's
changelog</a>.</em></p>
<blockquote>
<h1>3.3.2</h1>
<p><a
href="https://github.com/prettier/prettier/compare/3.3.1...3.3.2">diff</a></p>
<h4>Fix handlebars path expressions starts with <code>@</code> (<a
href="https://redirect.github.com/prettier/prettier/pull/16358">#16358</a>
by <a
href="https://github.com/Princeyadav05"><code>@​Princeyadav05</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="hbs"><code>{{! Input }}
&lt;div&gt;{{@x.y.z}}&lt;/div&gt;
<p>{{! Prettier 3.3.1 }}<br />
&lt;div&gt;{{<a
href="https://github.com/x"><code>@​x</code></a>}}&lt;/div&gt;</p>
<p>{{! Prettier 3.3.2 }}<br />
&lt;div&gt;{{<a
href="https://github.com/x"><code>@​x</code></a>.y.z}}&lt;/div&gt;<br />
</code></pre></p>
<h1>3.3.1</h1>
<p><a
href="https://github.com/prettier/prettier/compare/3.3.0...3.3.1">diff</a></p>
<h4>Preserve empty lines in front matter (<a
href="https://redirect.github.com/prettier/prettier/pull/16347">#16347</a>
by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="markdown"><code>&lt;!-- Input --&gt;
---
foo:
  - bar1
<ul>
<li>
<p>bar2</p>
</li>
<li>
<p>bar3</p>
</li>
</ul>
<hr />
<p>Markdown</p>
<p>&lt;!-- Prettier 3.3.0 --&gt;</p>
<hr />
<p>foo:</p>
<ul>
<li>bar1</li>
<li>bar2</li>
<li>bar3</li>
</ul>
<hr />
<p>Markdown</p>
<p>&lt;!-- Prettier 3.3.1 --&gt;<br />
&lt;/tr&gt;&lt;/table&gt;<br />
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/prettier/prettier/commit/1596a608dedac55c20bad3f1b5bfd47f961c696b"><code>1596a60</code></a>
Release 3.3.2</li>
<li><a
href="https://github.com/prettier/prettier/commit/aebcee5ea49ff0ee934ce39d26edb09cbd3f17db"><code>aebcee5</code></a>
chore(deps): update dependency esbuild to v0.21.5 (<a
href="https://redirect.github.com/prettier/prettier/issues/16379">#16379</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/57aa9287a078f0ed266e779bd00528fff2598bb2"><code>57aa928</code></a>
chore(deps): update dependency c8 to v10 (<a
href="https://redirect.github.com/prettier/prettier/issues/16380">#16380</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/c3d0b7f419f6f51876bbb1fc36b9755b8c9dcb8e"><code>c3d0b7f</code></a>
chore(deps): update typescript-eslint to v7.13.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/16376">#16376</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/27c35db5e20a121aad0cc3fff7a80658b7503ea0"><code>27c35db</code></a>
chore(deps): update dependency codemirror-graphql to v2.0.12 (<a
href="https://redirect.github.com/prettier/prettier/issues/16369">#16369</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/6de325866695e23269d0d217cf73c4cc0340226e"><code>6de3258</code></a>
chore(deps): update dependency jest to v30.0.0-alpha.5 (<a
href="https://redirect.github.com/prettier/prettier/issues/16371">#16371</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/b5f983d2bb24ae78ba560c7d57c4b1753ea32cfa"><code>b5f983d</code></a>
Upgrade yarn to v4.3.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/16377">#16377</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/d6f37c4109e97fdfa054d7af147e82495a18d1c7"><code>d6f37c4</code></a>
chore(deps): update dependency browserslist to v4.23.1 (<a
href="https://redirect.github.com/prettier/prettier/issues/16368">#16368</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/5055b7d39265fddae29917390c83ef28df497f23"><code>5055b7d</code></a>
chore(deps): update dependency execa to v9.2.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/16372">#16372</a>)</li>
<li><a
href="https://github.com/prettier/prettier/commit/f4608cc76b097a03487f00132a904dea1312c56d"><code>f4608cc</code></a>
chore(deps): update dependency cspell to v8.8.4 (<a
href="https://redirect.github.com/prettier/prettier/issues/16370">#16370</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/prettier/prettier/compare/2.8.2...3.3.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.8.2&new-version=3.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Garel <[email protected]>
  • Loading branch information
dependabot[bot] and alexgarel authored Jul 15, 2024
1 parent bab2ec6 commit d36b7d3
Show file tree
Hide file tree
Showing 26 changed files with 176 additions and 175 deletions.
136 changes: 68 additions & 68 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,91 +2,91 @@
# for reference, see https://github.com/actions/labeler

github:
- changed-files:
- any-glob-to-any-file: '.github/**/*'
- changed-files:
- any-glob-to-any-file: ".github/**/*"

documentation:
- changed-files:
- any-glob-to-any-file: 'CONTRIBUTING.md'
- any-glob-to-any-file: 'LICENSE'
- any-glob-to-any-file: 'README.md'
- any-glob-to-any-file: 'backend/README.md'
- any-glob-to-any-file: 'doc/how-to-guides/develop-with-neo4j.md'
- any-glob-to-any-file: 'doc/how-to-guides/docker-compose-setup.md'
- any-glob-to-any-file: 'doc/introduction/setup-dev.md'
- any-glob-to-any-file: 'doc/references/taxonomy-parser.md'
- any-glob-to-any-file: 'doc/assets/.empty'
- any-glob-to-any-file: 'doc/**/*'
- changed-files:
- any-glob-to-any-file: "CONTRIBUTING.md"
- any-glob-to-any-file: "LICENSE"
- any-glob-to-any-file: "README.md"
- any-glob-to-any-file: "backend/README.md"
- any-glob-to-any-file: "doc/how-to-guides/develop-with-neo4j.md"
- any-glob-to-any-file: "doc/how-to-guides/docker-compose-setup.md"
- any-glob-to-any-file: "doc/introduction/setup-dev.md"
- any-glob-to-any-file: "doc/references/taxonomy-parser.md"
- any-glob-to-any-file: "doc/assets/.empty"
- any-glob-to-any-file: "doc/**/*"

docker:
- changed-files:
- any-glob-to-any-file: 'backend/Dockerfile'
- any-glob-to-any-file: 'taxonomy-editor-frontend/Dockerfile'
- any-glob-to-any-file: 'docker-compose.yml'
- any-glob-to-any-file: 'docker/dev.yml'
- changed-files:
- any-glob-to-any-file: "backend/Dockerfile"
- any-glob-to-any-file: "taxonomy-editor-frontend/Dockerfile"
- any-glob-to-any-file: "docker-compose.yml"
- any-glob-to-any-file: "docker/dev.yml"

backend:
- changed-files:
- any-glob-to-any-file: 'backend/editor/__init__.py'
- any-glob-to-any-file: 'backend/editor/api.py'
- any-glob-to-any-file: 'backend/editor/entries.py'
- any-glob-to-any-file: 'backend/editor/exceptions.py'
- any-glob-to-any-file: 'backend/editor/graph_db.py'
- any-glob-to-any-file: 'backend/editor/models.py'
- any-glob-to-any-file: 'backend/editor/normalizer.py'
- any-glob-to-any-file: 'backend/editor/settings.py'
- any-glob-to-any-file: 'backend/pyproject.toml'
- any-glob-to-any-file: 'backend/poetry.lock'
- any-glob-to-any-file: 'backend/sample/load.py'
- any-glob-to-any-file: 'backend/sample/schema.json'
- any-glob-to-any-file: 'backend/sample/test-neo4j.json'
- any-glob-to-any-file: 'backend/sample/test.json'
- any-glob-to-any-file: 'backend/sample/test.txt'
- any-glob-to-any-file: 'backend/**/*'
- changed-files:
- any-glob-to-any-file: "backend/editor/__init__.py"
- any-glob-to-any-file: "backend/editor/api.py"
- any-glob-to-any-file: "backend/editor/entries.py"
- any-glob-to-any-file: "backend/editor/exceptions.py"
- any-glob-to-any-file: "backend/editor/graph_db.py"
- any-glob-to-any-file: "backend/editor/models.py"
- any-glob-to-any-file: "backend/editor/normalizer.py"
- any-glob-to-any-file: "backend/editor/settings.py"
- any-glob-to-any-file: "backend/pyproject.toml"
- any-glob-to-any-file: "backend/poetry.lock"
- any-glob-to-any-file: "backend/sample/load.py"
- any-glob-to-any-file: "backend/sample/schema.json"
- any-glob-to-any-file: "backend/sample/test-neo4j.json"
- any-glob-to-any-file: "backend/sample/test.json"
- any-glob-to-any-file: "backend/sample/test.txt"
- any-glob-to-any-file: "backend/**/*"

frontend:
- changed-files:
- any-glob-to-any-file: 'taxonomy-editor-frontend/**/*'
- changed-files:
- any-glob-to-any-file: "taxonomy-editor-frontend/**/*"

dependencies:
- changed-files:
- any-glob-to-any-file: 'backend/pyproject.toml'
- any-glob-to-any-file: 'backend/poetry.lock'
- any-glob-to-any-file: 'parser/pyproject.toml'
- any-glob-to-any-file: 'parser/poetry.lock'
- any-glob-to-any-file: 'taxonomy-editor-frontend/package.json'
- changed-files:
- any-glob-to-any-file: "backend/pyproject.toml"
- any-glob-to-any-file: "backend/poetry.lock"
- any-glob-to-any-file: "parser/pyproject.toml"
- any-glob-to-any-file: "parser/poetry.lock"
- any-glob-to-any-file: "taxonomy-editor-frontend/package.json"

api:
- changed-files:
- any-glob-to-any-file: 'backend/editor/api.py'
- changed-files:
- any-glob-to-any-file: "backend/editor/api.py"

nginx:
- changed-files:
- any-glob-to-any-file: 'conf/nginx.conf'
- changed-files:
- any-glob-to-any-file: "conf/nginx.conf"

neo4j:
- changed-files:
- any-glob-to-any-file: 'neo4j/**/*'
- changed-files:
- any-glob-to-any-file: "neo4j/**/*"

parser:
- changed-files:
- any-glob-to-any-file: 'parser/Makefile'
- any-glob-to-any-file: 'parser/openfoodfacts_taxonomy_parser/__init__.py'
- any-glob-to-any-file: 'parser/openfoodfacts_taxonomy_parser/exception.py'
- any-glob-to-any-file: 'parser/openfoodfacts_taxonomy_parser/parser.py'
- any-glob-to-any-file: 'parser/openfoodfacts_taxonomy_parser/unparser.py'
- any-glob-to-any-file: 'parser/pyproject.toml'
- any-glob-to-any-file: 'parser/poetry.lock'
- any-glob-to-any-file: 'parser/setup.cfg'
- any-glob-to-any-file: 'parser/tests/__init__.py'
- any-glob-to-any-file: 'parser/tests/conftest.py'
- any-glob-to-any-file: 'parser/tests/data/test.txt'
- any-glob-to-any-file: 'parser/tests/integration/__init__.py'
- any-glob-to-any-file: 'parser/**/*'
- changed-files:
- any-glob-to-any-file: "parser/Makefile"
- any-glob-to-any-file: "parser/openfoodfacts_taxonomy_parser/__init__.py"
- any-glob-to-any-file: "parser/openfoodfacts_taxonomy_parser/exception.py"
- any-glob-to-any-file: "parser/openfoodfacts_taxonomy_parser/parser.py"
- any-glob-to-any-file: "parser/openfoodfacts_taxonomy_parser/unparser.py"
- any-glob-to-any-file: "parser/pyproject.toml"
- any-glob-to-any-file: "parser/poetry.lock"
- any-glob-to-any-file: "parser/setup.cfg"
- any-glob-to-any-file: "parser/tests/__init__.py"
- any-glob-to-any-file: "parser/tests/conftest.py"
- any-glob-to-any-file: "parser/tests/data/test.txt"
- any-glob-to-any-file: "parser/tests/integration/__init__.py"
- any-glob-to-any-file: "parser/**/*"

tests:
- any-glob-to-any-file: 'parser/tests/__init__.py'
- any-glob-to-any-file: 'parser/tests/conftest.py'
- any-glob-to-any-file: 'parser/tests/data/test.txt'
- any-glob-to-any-file: 'parser/tests/integration/__init__.py'
- any-glob-to-any-file: 'parser/tests/**/*'
- any-glob-to-any-file: "parser/tests/__init__.py"
- any-glob-to-any-file: "parser/tests/conftest.py"
- any-glob-to-any-file: "parser/tests/data/test.txt"
- any-glob-to-any-file: "parser/tests/integration/__init__.py"
- any-glob-to-any-file: "parser/tests/**/*"
18 changes: 9 additions & 9 deletions taxonomy-editor-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion taxonomy-editor-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"openapi-typescript-codegen": "^0.27.0",
"prettier": "2.8.2",
"prettier": "3.3.2",
"vite": "^5.1.0",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion taxonomy-editor-frontend/src/client/core/ApiError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class ApiError extends Error {
constructor(
request: ApiRequestOptions,
response: ApiResult,
message: string
message: string,
) {
super(message);

Expand Down
8 changes: 4 additions & 4 deletions taxonomy-editor-frontend/src/client/core/CancelablePromise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export class CancelablePromise<T> implements Promise<T> {
executor: (
resolve: (value: T | PromiseLike<T>) => void,
reject: (reason?: any) => void,
onCancel: OnCancel
) => void
onCancel: OnCancel,
) => void,
) {
this.#isResolved = false;
this.#isRejected = false;
Expand Down Expand Up @@ -90,13 +90,13 @@ export class CancelablePromise<T> implements Promise<T> {

public then<TResult1 = T, TResult2 = never>(
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null
onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,
): Promise<TResult1 | TResult2> {
return this.#promise.then(onFulfilled, onRejected);
}

public catch<TResult = never>(
onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null
onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null,
): Promise<T | TResult> {
return this.#promise.catch(onRejected);
}
Expand Down
24 changes: 12 additions & 12 deletions taxonomy-editor-frontend/src/client/core/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import type { OnCancel } from "./CancelablePromise";
import type { OpenAPIConfig } from "./OpenAPI";

export const isDefined = <T>(
value: T | null | undefined
value: T | null | undefined,
): value is Exclude<T, null | undefined> => {
return value !== undefined && value !== null;
};
Expand Down Expand Up @@ -116,7 +116,7 @@ const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
};

export const getFormData = (
options: ApiRequestOptions
options: ApiRequestOptions,
): FormData | undefined => {
if (options.formData) {
const formData = new FormData();
Expand Down Expand Up @@ -148,7 +148,7 @@ type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;

export const resolve = async <T>(
options: ApiRequestOptions,
resolver?: T | Resolver<T>
resolver?: T | Resolver<T>,
): Promise<T | undefined> => {
if (typeof resolver === "function") {
return (resolver as Resolver<T>)(options);
Expand All @@ -159,7 +159,7 @@ export const resolve = async <T>(
export const getHeaders = async (
config: OpenAPIConfig,
options: ApiRequestOptions,
formData?: FormData
formData?: FormData,
): Promise<Record<string, string>> => {
const [token, username, password, additionalHeaders] = await Promise.all([
resolve(options, config.TOKEN),
Expand All @@ -184,7 +184,7 @@ export const getHeaders = async (
...headers,
[key]: String(value),
}),
{} as Record<string, string>
{} as Record<string, string>,
);

if (isStringWithValue(token)) {
Expand Down Expand Up @@ -226,7 +226,7 @@ export const sendRequest = async <T>(
formData: FormData | undefined,
headers: Record<string, string>,
onCancel: OnCancel,
axiosClient: AxiosInstance
axiosClient: AxiosInstance,
): Promise<AxiosResponse<T>> => {
const source = axios.CancelToken.source();

Expand Down Expand Up @@ -254,7 +254,7 @@ export const sendRequest = async <T>(

export const getResponseHeader = (
response: AxiosResponse<any>,
responseHeader?: string
responseHeader?: string,
): string | undefined => {
if (responseHeader) {
const content = response.headers[responseHeader];
Expand All @@ -274,7 +274,7 @@ export const getResponseBody = (response: AxiosResponse<any>): any => {

export const catchErrorCodes = (
options: ApiRequestOptions,
result: ApiResult
result: ApiResult,
): void => {
const errors: Record<number, string> = {
400: "Bad Request",
Expand Down Expand Up @@ -306,7 +306,7 @@ export const catchErrorCodes = (
throw new ApiError(
options,
result,
`Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`
`Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`,
);
}
};
Expand All @@ -322,7 +322,7 @@ export const catchErrorCodes = (
export const request = <T>(
config: OpenAPIConfig,
options: ApiRequestOptions,
axiosClient: AxiosInstance = axios
axiosClient: AxiosInstance = axios,
): CancelablePromise<T> => {
return new CancelablePromise(async (resolve, reject, onCancel) => {
try {
Expand All @@ -340,12 +340,12 @@ export const request = <T>(
formData,
headers,
onCancel,
axiosClient
axiosClient,
);
const responseBody = getResponseBody(response);
const responseHeader = getResponseHeader(
response,
options.responseHeader
options.responseHeader,
);

const result: ApiResult = {
Expand Down
Loading

0 comments on commit d36b7d3

Please sign in to comment.