mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
format
This commit is contained in:
parent
599e6f9ea9
commit
9cdf4ef3a7
@ -1,7 +1,6 @@
|
||||
import fs from "node:fs"
|
||||
import path from "node:path"
|
||||
import yoctoSpinner from "yocto-spinner"
|
||||
import { fileFromPath } from "formdata-node/file-from-path"
|
||||
import FormData from "form-data"
|
||||
|
||||
import Cache from "../../classes/cache.js"
|
||||
@ -69,8 +68,8 @@ export default {
|
||||
method: "PUT",
|
||||
url: "/extensions/publish",
|
||||
headers: {
|
||||
Authorization: `Bearer ${token}`,
|
||||
"Content-Type": "multipart/form-data",
|
||||
Authorization: `Bearer ${token}`,
|
||||
pkg: JSON.stringify(pkgJSON),
|
||||
},
|
||||
data: bodyData,
|
||||
|
Loading…
x
Reference in New Issue
Block a user