Skip to content

Commit

Permalink
refactor(uni-app): extraOptions position
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Apr 16, 2024
1 parent 2c1a787 commit a64ed4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/uni-app/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const adapter: LylaAdapter<LylaAdapterMeta> = ({
onResponse,
onNetworkError,
extraOptions,
withCredentials,
withCredentials
// Not used, just leave it here
// json,
// onDownloadProgress,
Expand All @@ -62,7 +62,6 @@ export const adapter: LylaAdapter<LylaAdapterMeta> = ({
method,
header: headers,
withCredentials,
...extraOptions,
data: body,
responseType,
dataType: 'text',
Expand All @@ -78,7 +77,8 @@ export const adapter: LylaAdapter<LylaAdapterMeta> = ({
},
res
)
}
},
...extraOptions
})
return {
abort() {
Expand Down

0 comments on commit a64ed4e

Please sign in to comment.