Change Curseforge relation projectID type from string to number

This commit is contained in:
CPTProgrammer
2026-07-18 22:09:50 +08:00
parent 54af762365
commit b16c9546b8
3 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ Content-Type: multipart/form-data
"relations": {
"projects": [{
"slug": "mantle", // 关联项目的 slug
"projectID": "74924", // 可选,用于精确匹配项目
"projectID": 74924, // 可选,用于精确匹配项目
"type": "requiredDependency" // 关联类型,可选值见下方
}]
}
@@ -152,7 +152,7 @@ Content-Type: multipart/form-data
"relations": {
"projects": [{
"slug": "mantle",
"projectID": "74924",
"projectID": 74924,
"type": "requiredDependency"
}]
}