mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
fix megalodon user agent
This commit is contained in:
@@ -585,7 +585,10 @@ namespace MisskeyAPI {
|
||||
public async get<T>(path: string, params: any = {}, headers: { [key: string]: string } = {}): Promise<Response<T>> {
|
||||
let options: AxiosRequestConfig = {
|
||||
params: params,
|
||||
headers: headers,
|
||||
headers: {
|
||||
'User-Agent': this.userAgent,
|
||||
...headers,
|
||||
},
|
||||
maxContentLength: Infinity,
|
||||
maxBodyLength: Infinity
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user