File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { AxiosRequestConfig } from 'axios'
2
+
2
3
import type { Client } from './client.js'
4
+ import { SeamHttpActionAttempts } from './index.js'
3
5
import type { SeamHttpRequestOptions } from './options.js'
4
6
import { resolveActionAttempt } from './resolve-action-attempt.js'
5
- import { SeamHttpActionAttempts } from './index.js'
6
7
7
8
export interface SeamApiRequestParent {
8
9
readonly client : Client
@@ -58,7 +59,7 @@ export class SeamApiRequest<
58
59
this . options . waitForActionAttempt ??
59
60
this . parent . defaults . waitForActionAttempt
60
61
if ( waitForActionAttempt !== false ) {
61
- return resolveActionAttempt (
62
+ return await resolveActionAttempt (
62
63
data ,
63
64
SeamHttpActionAttempts . fromClient ( client , {
64
65
...this . parent . defaults ,
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ import {
9
9
SeamHttpMultiWorkspace ,
10
10
type WorkspacesListResponse ,
11
11
} from '@seamapi/http/connect'
12
+
12
13
import {
13
- SeamApiRequest ,
14
14
type ResponseFromSeamApiRequest ,
15
+ SeamApiRequest ,
15
16
} from 'lib/seam/connect/seam-api-request.js'
16
17
17
18
test ( 'SeamHttp: fromClient returns instance that uses client' , async ( t ) => {
You can’t perform that action at this time.
0 commit comments