diff --git a/src/BackOffice.BFF.Application/ManualPaymentCQ/Commands/CreateManualPayment/CreateManualPaymentCommandHandler.cs b/src/BackOffice.BFF.Application/ManualPaymentCQ/Commands/CreateManualPayment/CreateManualPaymentCommandHandler.cs index ecb791d..bef1536 100644 --- a/src/BackOffice.BFF.Application/ManualPaymentCQ/Commands/CreateManualPayment/CreateManualPaymentCommandHandler.cs +++ b/src/BackOffice.BFF.Application/ManualPaymentCQ/Commands/CreateManualPayment/CreateManualPaymentCommandHandler.cs @@ -50,10 +50,19 @@ public class CreateManualPaymentCommandHandler : IRequestHandler 0) + { + grpcRequest.ImageDocumentId = fileInfo.Id; + _logger.LogInformation("Image document ID from FMS: {ImageDocumentId}", fileInfo.Id); + } } } else if (!string.IsNullOrWhiteSpace(request.ImagePath)) diff --git a/src/BackOffice.BFF.Domain/BackOffice.BFF.Domain.csproj b/src/BackOffice.BFF.Domain/BackOffice.BFF.Domain.csproj index 1597ee2..14663a8 100644 --- a/src/BackOffice.BFF.Domain/BackOffice.BFF.Domain.csproj +++ b/src/BackOffice.BFF.Domain/BackOffice.BFF.Domain.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/BackOffice.BFF.ManualPayment.Protobuf.csproj b/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/BackOffice.BFF.ManualPayment.Protobuf.csproj index 54bf3dd..4538910 100644 --- a/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/BackOffice.BFF.ManualPayment.Protobuf.csproj +++ b/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/BackOffice.BFF.ManualPayment.Protobuf.csproj @@ -4,7 +4,7 @@ net9.0 enable enable - 0.0.11 + 0.0.12 None False False diff --git a/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/Protos/manualpayment.proto b/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/Protos/manualpayment.proto index facbbb1..2ec0685 100644 --- a/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/Protos/manualpayment.proto +++ b/src/Protobufs/BackOffice.BFF.ManualPayment.Protobuf/Protos/manualpayment.proto @@ -56,6 +56,7 @@ message ManualPaymentModel google.protobuf.Int64Value transaction_id = 18; google.protobuf.Timestamp created = 19; google.protobuf.StringValue image_path = 20; + google.protobuf.Int64Value image_document_id = 21; } message CreateManualPaymentRequest