Skip to content

Commit c8b551d

Browse files
authored
agent: fix file reception error in postgres (#1647)
1 parent 99f40ae commit c8b551d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Simplex/Messaging/Agent/Store/AgentStore.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,7 @@ getRcvFile db rcvFileId = runExceptT $ do
25812581
SELECT rcv_file_chunk_id, chunk_no, chunk_size, digest, tmp_path
25822582
FROM rcv_file_chunks
25832583
WHERE rcv_file_id = ?
2584+
ORDER BY chunk_no ASC
25842585
|]
25852586
(Only rcvFileId)
25862587
forM chunks $ \chunk@RcvFileChunk {rcvChunkId} -> do

0 commit comments

Comments
 (0)