Fix restore_db: Use correct repo slug format
swadhinbiswas committed 10 months ago
926bcc4
1 parent 0bfbb7d
commit 926bcc4
1 file changed
+1 -1
Showing 1 changed file+1-1
▼scripts/restore_db.ts
+1-1
| @@ -41,7 +41,7 @@ async function main() { | ||
41 | 41 | |
42 | 42 | // 2. Create Repository |
43 | 43 | const repoName = "OpenCodeHub"; |
44 | - const repoSlug = `${username}/${repoName}`; | |
44 | + const repoSlug = repoName; | |
45 | 45 | const repoPath = join(process.cwd(), "data", "repos", username, `${repoName}.git`); |
46 | 46 | |
47 | 47 | const existingRepo = await db.query.repositories.findFirst({ |
48 | 48 | |