Fix formatting

This commit is contained in:
Mike Conrad
2025-05-21 16:36:54 -04:00
parent f5aceea6fa
commit 47a520e945
13 changed files with 129 additions and 125 deletions

View File

@ -1,12 +1,11 @@
export interface SentryPagination {
previous: string;
hasPreviousResults: boolean;
hasNextResults: boolean;
previous: string
hasPreviousResults: boolean
hasNextResults: boolean
next: string
}
export function parseSentryLinkHeader(header: string): SentryPagination {
const links = header.split(',').map(part => part.trim())
const links = header.split(',').map((part) => part.trim())
let result = {} as SentryPagination
for (const link of links) {
@ -25,4 +24,4 @@ export function parseSentryLinkHeader(header: string): SentryPagination {
}
return result
}
}