瀏覽代碼

query-node: rename fts query name for Video, Channel to `search`

metmirr 4 年之前
父節點
當前提交
1f20b19c9a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      query-node/schema.graphql

+ 2 - 2
query-node/schema.graphql

@@ -84,7 +84,7 @@ type Channel @entity {
   # owner: Member!
 
   "The title of the Channel"
-  handle: String! @fulltext(query: "channelsByHandle")
+  handle: String! @fulltext(query: "search")
 
   "The description of a Channel"
   description: String!
@@ -255,7 +255,7 @@ type Video @entity {
   category: Category!
 
   "The title of the video"
-  title: String! @fulltext(query: "videosByTitle")
+  title: String! @fulltext(query: "search")
 
   "The description of the Video"
   description: String!