enzostvs HF Staff commited on
Commit
0165c57
·
1 Parent(s): 270a699
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
- }).catch((error) => {
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) {