]> PHS Git Server - phs-admin.git/commitdiff
Fixing git create.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 01:10:45 +0000 (20:10 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 01:10:45 +0000 (20:10 -0500)
src/app/services/Git/GitService.js

index ed6f1c688b02b57e6e29318ff307183596803392..ad69e6133e0f38385b32b5deb94454ff16e2a521 100644 (file)
@@ -28,7 +28,7 @@ class GitService {
         const response = await axios.post(`${base_url}${GitConfig.createRepo}`, {
           name: repoName,
           type: repoType,
-          user: repoType === 'private' ? repoUser : undefined,
+          user: repoUser,
         });
         resolve(response.data.message);
         fetchRepos();