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 fs from "node:fs"
|
||||||
import path from "node:path"
|
import path from "node:path"
|
||||||
import yoctoSpinner from "yocto-spinner"
|
import yoctoSpinner from "yocto-spinner"
|
||||||
import { fileFromPath } from "formdata-node/file-from-path"
|
|
||||||
import FormData from "form-data"
|
import FormData from "form-data"
|
||||||
|
|
||||||
import Cache from "../../classes/cache.js"
|
import Cache from "../../classes/cache.js"
|
||||||
@ -69,8 +68,8 @@ export default {
|
|||||||
method: "PUT",
|
method: "PUT",
|
||||||
url: "/extensions/publish",
|
url: "/extensions/publish",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer ${token}`,
|
|
||||||
"Content-Type": "multipart/form-data",
|
"Content-Type": "multipart/form-data",
|
||||||
|
Authorization: `Bearer ${token}`,
|
||||||
pkg: JSON.stringify(pkgJSON),
|
pkg: JSON.stringify(pkgJSON),
|
||||||
},
|
},
|
||||||
data: bodyData,
|
data: bodyData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user