diff --git a/server/Tingle.Dependabot/AppSetup.cs b/server/Tingle.Dependabot/AppSetup.cs index 277e43e7..523cf0a4 100644 --- a/server/Tingle.Dependabot/AppSetup.cs +++ b/server/Tingle.Dependabot/AppSetup.cs @@ -56,7 +56,7 @@ public static async Task SetupAsync(WebApplication app, CancellationToken cancel { project = new Models.Management.Project { - Id = Guid.NewGuid().ToString("n"), + Id = $"prj_{Guid.NewGuid():n}", Created = DateTimeOffset.UtcNow, Password = GeneratePassword(32), Url = setup.Url.ToString(), diff --git a/server/Tingle.Dependabot/Workflow/Synchronizer.cs b/server/Tingle.Dependabot/Workflow/Synchronizer.cs index ad7add13..42ee5e2c 100644 --- a/server/Tingle.Dependabot/Workflow/Synchronizer.cs +++ b/server/Tingle.Dependabot/Workflow/Synchronizer.cs @@ -196,7 +196,7 @@ internal async Task SynchronizeAsync(Project project, { repository = new Repository { - Id = Guid.NewGuid().ToString("n"), + Id = $"repo_{Guid.NewGuid():n}", Created = DateTimeOffset.UtcNow, ProjectId = project.Id, ProviderId = providerInfo.Id,