Commit d7d6a41 MMelchor
committed
1 parent c302735 commit d7d6a41 Copy full SHA for d7d6a41
File tree 4 files changed +4
-4
lines changed
tests/e2e/web/api/v1/contexts/torrent
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ impl Database for Sqlite {
475
475
. bind ( root_hash)
476
476
. bind ( torrent. info . source . clone ( ) )
477
477
. bind ( torrent. comment . clone ( ) )
478
- . bind ( torrent. creation_date . clone ( ) )
478
+ . bind ( torrent. creation_date )
479
479
. bind ( torrent. created_by . clone ( ) )
480
480
. bind ( torrent. encoding . clone ( ) )
481
481
. execute ( & mut tx)
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ impl Torrent {
94
94
encoding : db_torrent. encoding . clone ( ) ,
95
95
httpseeds : None ,
96
96
announce_list : Some ( torrent_announce_urls) ,
97
- creation_date : db_torrent. creation_date . clone ( ) ,
97
+ creation_date : db_torrent. creation_date ,
98
98
comment : db_torrent. comment . clone ( ) ,
99
99
created_by : db_torrent. created_by . clone ( ) ,
100
100
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ impl CreateTorrentRequest {
41
41
encoding : self . encoding . clone ( ) ,
42
42
httpseeds : None ,
43
43
announce_list : Some ( self . announce_urls . clone ( ) ) ,
44
- creation_date : self . creation_date . clone ( ) ,
44
+ creation_date : self . creation_date ,
45
45
comment : self . comment . clone ( ) ,
46
46
created_by : self . created_by . clone ( ) ,
47
47
}
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ mod for_guests {
213
213
tags : vec ! [ ] ,
214
214
name : test_torrent. index_info . name . clone ( ) ,
215
215
comment : test_torrent. file_info . comment . clone ( ) ,
216
- creation_date : test_torrent. file_info . creation_date . clone ( ) ,
216
+ creation_date : test_torrent. file_info . creation_date ,
217
217
created_by : test_torrent. file_info . created_by . clone ( ) ,
218
218
encoding : test_torrent. file_info . encoding . clone ( ) ,
219
219
} ;
You can’t perform that action at this time.
0 commit comments