return list verbatim if no cursor
This commit is contained in:
@@ -1201,7 +1201,7 @@ async fn download_creations_pages_from_checkpoint(context:&CookieContext,owner:r
|
|||||||
let cursor=match cursor{
|
let cursor=match cursor{
|
||||||
Ok(cursor)=>Some(cursor),
|
Ok(cursor)=>Some(cursor),
|
||||||
Err(e)=>match e.kind(){
|
Err(e)=>match e.kind(){
|
||||||
std::io::ErrorKind::NotFound=>None,
|
std::io::ErrorKind::NotFound=>return Ok(versions),
|
||||||
_=>Err(e)?,
|
_=>Err(e)?,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user