소스 검색

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!