fixed blocking issues
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user