Skip to content

Commit 38c760a

Browse files
committed
ci: Format code
1 parent d61f528 commit 38c760a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/lib/seam/connect/seam-api-request.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import type { AxiosRequestConfig } from 'axios'
2+
23
import type { Client } from './client.js'
4+
import { SeamHttpActionAttempts } from './index.js'
35
import type { SeamHttpRequestOptions } from './options.js'
46
import { resolveActionAttempt } from './resolve-action-attempt.js'
5-
import { SeamHttpActionAttempts } from './index.js'
67

78
export interface SeamApiRequestParent {
89
readonly client: Client
@@ -58,7 +59,7 @@ export class SeamApiRequest<
5859
this.options.waitForActionAttempt ??
5960
this.parent.defaults.waitForActionAttempt
6061
if (waitForActionAttempt !== false) {
61-
return resolveActionAttempt(
62+
return await resolveActionAttempt(
6263
data,
6364
SeamHttpActionAttempts.fromClient(client, {
6465
...this.parent.defaults,

test/seam/connect/client.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import {
99
SeamHttpMultiWorkspace,
1010
type WorkspacesListResponse,
1111
} from '@seamapi/http/connect'
12+
1213
import {
13-
SeamApiRequest,
1414
type ResponseFromSeamApiRequest,
15+
SeamApiRequest,
1516
} from 'lib/seam/connect/seam-api-request.js'
1617

1718
test('SeamHttp: fromClient returns instance that uses client', async (t) => {

0 commit comments

Comments
 (0)