x-cold / yuque-hexo

同步语雀的文章到你的 Hexo 项目吧!
http://blog.lxstart.net/
MIT License
712 stars 82 forks source link

fix:修复协议改变导致的字段判断失败 #111

Closed theotao94 closed 2 years ago

theotao94 commented 2 years ago

https://www.yuque.com/yuque/developer/docdetailserializer

theotao94 commented 2 years ago

这里的判断在遇到某些文档的时候,body是空的,但是body_draft是正确的值,需要做些一下兼容

image
theotao94 commented 2 years ago

emm,这个body draft 是草稿状态,是需要语雀那边发布一下,我关闭合并了