befly 3.18.1 → 3.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "befly",
3
- "version": "3.18.1",
4
- "gitHead": "f43a5007cf99e7a1b1ca976d12b5e94fee8de02e",
3
+ "version": "3.18.2",
4
+ "gitHead": "f6fdc07aded11161f7722df5da27bc9166692caf",
5
5
  "private": false,
6
6
  "description": "Befly - 为 Bun 专属打造的 JavaScript API 接口框架核心引擎",
7
7
  "keywords": [
@@ -98,7 +98,7 @@ export async function scanFiles(dir, source, type, pattern) {
98
98
  filePath: filePath,
99
99
  relativePath: relativePath,
100
100
  fileName: fileName,
101
- apiPath: source === core ? `/api/${source}/${relativePath}` : `/api/${relativePath}`
101
+ apiPath: source === "core" ? `/api/${source}/${relativePath}` : `/api/${relativePath}`
102
102
  };
103
103
  if (type === "table") {
104
104
  base["fieldsDef"] = contentObj;