Spaces:
Running
Running
fix
Browse files
app/api/me/projects/[namespace]/[repoId]/commits/[commitId]/promote/route.ts
CHANGED
|
@@ -129,12 +129,7 @@ export async function POST(
|
|
| 129 |
path: subFileInfo.path,
|
| 130 |
revision: commitId,
|
| 131 |
raw: true
|
| 132 |
-
})
|
| 133 |
-
return null;
|
| 134 |
-
});
|
| 135 |
-
if (!blob) {
|
| 136 |
-
continue;
|
| 137 |
-
}
|
| 138 |
const content = await blob?.text();
|
| 139 |
|
| 140 |
if (content) {
|
|
|
|
| 129 |
path: subFileInfo.path,
|
| 130 |
revision: commitId,
|
| 131 |
raw: true
|
| 132 |
+
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
const content = await blob?.text();
|
| 134 |
|
| 135 |
if (content) {
|