fix integration
Build and Deploy / build-and-deploy (push) Successful in 19m19s

This commit is contained in:
2026-06-04 19:52:44 +03:00
parent 5f5c5de407
commit a9c931bd71
6 changed files with 132 additions and 39 deletions
+7 -6
View File
@@ -31,12 +31,13 @@ func NewTransactionService(repo repositories.TransactionRepository, activityRepo
}
var (
ErrTransactionNotFound = errors.New("transaction not found")
ErrTransactionPatch = errors.New("empty update payload")
ErrReceiptLinkConflict = errors.New("receipt_id and detach_receipt cannot be used together")
ErrInvalidTransaction = errors.New("type and category are required")
ErrReceiptNotFound = errors.New("receipt not found")
ErrInvalidAnalytics = errors.New("type must be income or expense")
ErrTransactionNotFound = errors.New("transaction not found")
ErrTransactionPatch = errors.New("empty update payload")
ErrReceiptLinkConflict = errors.New("receipt_id and detach_receipt cannot be used together")
ErrReceiptAlreadyExists = errors.New("receipt already exists")
ErrInvalidTransaction = errors.New("type and category are required")
ErrReceiptNotFound = errors.New("receipt not found")
ErrInvalidAnalytics = errors.New("type must be income or expense")
)
func (s *transactionService) Create(ctx context.Context, req domain.CreateTransactionRequest) (*domain.Transaction, error) {