wtf fix int wrong stupid
This commit is contained in:
@@ -89,7 +89,7 @@ class ChatAttachment extends BaseClientObject {
|
|||||||
if (re.ok) {
|
if (re.ok) {
|
||||||
const t = re.headers.get('content-type')
|
const t = re.headers.get('content-type')
|
||||||
if (t)
|
if (t)
|
||||||
return parseInt(t)
|
return t
|
||||||
throw new Error("Unable to get Content-Type")
|
throw new Error("Unable to get Content-Type")
|
||||||
}
|
}
|
||||||
throw new CallbackError({
|
throw new CallbackError({
|
||||||
|
|||||||
Reference in New Issue
Block a user