mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 01:09:31 +08:00
🐛 Fix npe
This commit is contained in:
parent
3007364309
commit
d3eb23c137
@ -200,6 +200,9 @@ func getFullHPathByID(c *gin.Context) {
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
if nil == arg["id"] {
|
||||
return
|
||||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
hPath, err := model.GetFullHPathByID(id)
|
||||
|
Loading…
Reference in New Issue
Block a user