add story service

This commit is contained in:
2026-03-07 04:34:58 +07:00
parent 9e0a19d25a
commit 645f6a7246
5 changed files with 80 additions and 46 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ func (s *Services) UpdateNode(ctx context.Context, req *proto.UpdateNodeReq) (*p
Text: req.Node.Text,
Applications: applications,
}
if err := s.storyService.UpdatePlace(req.Code, node); err != nil {
if err := s.storyService.UpdatePlace(ctx, req.Code, node); err != nil {
return nil, err
}
return &proto.UpdateNodeRsp{}, nil