refactor(backend): split project write responsibilities
This commit is contained in:
@@ -77,6 +77,7 @@ func (s *Service) Confirm(itemID uint, selected []Suggestion) error {
|
||||
return err
|
||||
}
|
||||
sourceInboxItemID := item.ID
|
||||
// Inbox 建议只有在用户确认后才创建正式对象,并把来源 ID 写入每个对象以保留可追溯性。
|
||||
for _, suggestion := range selected {
|
||||
switch suggestion.Kind {
|
||||
case "task":
|
||||
|
||||
Reference in New Issue
Block a user