This commit is contained in:
Alexander Wang 2024-10-12 12:42:41 -07:00 committed by Maricaya
parent 63ddaebd7a
commit 84edf7e27d
No known key found for this signature in database
GPG key ID: 91DA6031E30DE02F

View file

@ -124,7 +124,7 @@ func jsGetRefRanges(this js.Value, args []js.Value) interface{} {
return string(str)
}
refs, err := d2lsp.GetFieldRefs(file, fs, key, boardPath)
refs, err := d2lsp.GetRefs(file, fs, key, boardPath)
if err != nil {
ret := jsRefRanges{D2Error: err.Error()}
str, _ := json.Marshal(ret)