Add endpoint for full-text search (#6)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2020-10-12 21:46:50 -05:00
parent 273460b126
commit e55720e3bb
7 changed files with 100 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ class Node extends Model {
// Static and instance methods can go here
get page() {
const Page = this.models.get('api:Page')
return this.belongs_to_one(Page, "PageId", "_id")
return this.belongs_to_one(Page, "PageId", "UUID")
}
to_html() {