fixed blocking issues

This commit is contained in:
Mazyar
2026-05-30 12:13:46 +03:30
parent ce2dc7a61b
commit cf1449b1f9
6 changed files with 349 additions and 131 deletions
+5 -5
View File
@@ -176,9 +176,9 @@ func (r *boardRepository) CreateBoard(ctx context.Context, board *Board) error {
err := r.ormRepo.Create(ctx, board)
if err != nil {
r.logger.Error("Failed to create board", map[string]interface{}{
"error": err.Error(),
"name": board.Name,
"user_id": board.UserID,
"error": err.Error(),
"name": board.Name,
"user_id": board.UserID,
})
return err
}
@@ -572,8 +572,8 @@ func (r *cardRepository) UpdateCardOrder(ctx context.Context, columnID string, c
card, err := r.ormRepo.FindByID(ctx, cardID)
if err != nil {
r.logger.Error("Failed to find card for order update", map[string]interface{}{
"card_id": cardID,
"error": err.Error(),
"card_id": cardID,
"error": err.Error(),
})
return err
}