File tree 2 files changed +17
-17
lines changed
2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,7 @@ export async function fetchAuditLog({
25
25
)
26
26
}
27
27
28
- return await fetchAuditLogWithToken ( {
29
- apiToken,
28
+ return await fetchAuditLogWithToken ( apiToken , {
30
29
logType,
31
30
orgSlug,
32
31
outputKind,
@@ -35,21 +34,22 @@ export async function fetchAuditLog({
35
34
} )
36
35
}
37
36
38
- export async function fetchAuditLogWithToken ( {
39
- apiToken,
40
- logType,
41
- orgSlug,
42
- outputKind,
43
- page,
44
- perPage
45
- } : {
46
- apiToken : string
47
- outputKind : 'json' | 'markdown' | 'print'
48
- orgSlug : string
49
- page : number
50
- perPage : number
51
- logType : string
52
- } ) : Promise < SocketSdkReturnType < 'getAuditLogEvents' > [ 'data' ] | void > {
37
+ export async function fetchAuditLogWithToken (
38
+ apiToken : string ,
39
+ {
40
+ logType,
41
+ orgSlug,
42
+ outputKind,
43
+ page,
44
+ perPage
45
+ } : {
46
+ outputKind : 'json' | 'markdown' | 'print'
47
+ orgSlug : string
48
+ page : number
49
+ perPage : number
50
+ logType : string
51
+ }
52
+ ) : Promise < SocketSdkReturnType < 'getAuditLogEvents' > [ 'data' ] | void > {
53
53
// Lazily access constants.spinner.
54
54
const { spinner } = constants
55
55
File renamed without changes.
You can’t perform that action at this time.
0 commit comments