Skip to content

Commit 24d4b36

Browse files
committed
fix : Project list query environment error
1 parent fee4a9c commit 24d4b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Masa.Scheduler.Services.Server/Application/Projects/ProjectQueryHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task ProjectListHandleAsync(ProjectQuery query)
2121
{
2222
if (string.IsNullOrWhiteSpace(query.Environment))
2323
{
24-
query.Environment = _userContext.Environment ?? "development";
24+
query.Environment = _userContext.Environment ?? string.Empty;
2525
}
2626

2727
var projectList = await _pmClient.ProjectService.GetProjectAppsAsync(query.Environment);

0 commit comments

Comments
 (0)