Explorar o código

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

metmirr %!s(int64=4) %!d(string=hai) anos
pai
achega
1f20b19c9a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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!