mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -63,7 +63,7 @@ module.exports = class FaceCommand extends Command {
|
||||
if (Buffer.byteLength(imgData.body) >= 2e+6) return 'size';
|
||||
const { body } = await request
|
||||
.post('https://api-us.faceplusplus.com/facepp/v3/detect')
|
||||
.headers({ 'Content-Type': 'multipart/form-data' })
|
||||
.set({ 'Content-Type': 'multipart/form-data' })
|
||||
.attach({ image_file: imgData.body })
|
||||
.query({
|
||||
api_key: FACEPLUSPLUS_KEY,
|
||||
|
||||
Reference in New Issue
Block a user