Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
me1ting committed Oct 13, 2024
1 parent 22ed084 commit 4a16421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
8 changes: 6 additions & 2 deletions src/lib/poeapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ export async function getCharacters(accountName: string, realm: string): Promise
}
}

export async function getItems(accountName: string, character: string, realm: string): Promise<any> {
export async function getItems(
accountName: string,
character: string,
realm: string
): Promise<any> {
const form = new URLSearchParams()
form.append('accountName', accountName)
form.append('character', character)
Expand Down Expand Up @@ -125,4 +129,4 @@ function rateLimit(headers: { [s: string]: unknown }) {
return `${max}秒`
}
return ''
}
}

0 comments on commit 4a16421

Please sign in to comment.