mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Fix npe
This commit is contained in:
parent
3007364309
commit
d3eb23c137
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue