Use title instead of originalFilename - fixes #32

pull/40/head
Vitaliy Filippov 2015-10-08 14:23:59 +03:00
parent 1cca10272d
commit 679fa0eec6
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void Entry2::Update( const Val& item )
m_title = file["title"] ;
m_etag = file["etag"] ;
Val fn;
m_filename = file.Get( "originalFilename", fn ) ? fn.Str() : std::string();
m_filename = file.Get( "title", fn ) ? fn.Str() : std::string();
m_self_href = file["selfLink"] ;
m_mtime = DateTime( file["modifiedDate"] ) ;