njnu-seafish commented on code in PR #18293:
URL: 
https://github.com/apache/dolphinscheduler/pull/18293#discussion_r3307869813


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectPreferenceServiceImpl.java:
##########
@@ -67,6 +78,33 @@ public Result updateProjectPreference(User loginUser, long 
projectCode, String p
                 .selectOne(new 
QueryWrapper<ProjectPreference>().lambda().eq(ProjectPreference::getProjectCode,
                         projectCode));
 
+        // Validate workerGroup is assigned to project

Review Comment:
   ok



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to