fix: wrong fileid type
WAS: i64 SHOULD: String
This commit is contained in:
parent
827a5022d1
commit
e46ba0dbbf
@ -244,7 +244,7 @@ impl DB {
|
|||||||
&mut self,
|
&mut self,
|
||||||
literal: &str,
|
literal: &str,
|
||||||
mediatype: String,
|
mediatype: String,
|
||||||
fileid: i64,
|
fileid: String,
|
||||||
) -> Result<Media, Box<dyn std::error::Error>> {
|
) -> Result<Media, Box<dyn std::error::Error>> {
|
||||||
use self::schema::media::dsl::*;
|
use self::schema::media::dsl::*;
|
||||||
let conn = &mut self.pool.get().await.unwrap();
|
let conn = &mut self.pool.get().await.unwrap();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user