diff --git a/lib/groupher_server_web/schema/cms/mutations/blog.ex b/lib/groupher_server_web/schema/cms/mutations/blog.ex index 942b6c331..1f2b2971e 100644 --- a/lib/groupher_server_web/schema/cms/mutations/blog.ex +++ b/lib/groupher_server_web/schema/cms/mutations/blog.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Blog do field :create_blog, :blog do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:link_addr, :string) arg(:thread, :thread, default_value: :blog) diff --git a/lib/groupher_server_web/schema/cms/mutations/drink.ex b/lib/groupher_server_web/schema/cms/mutations/drink.ex index ec25adb28..aeb8c13f6 100644 --- a/lib/groupher_server_web/schema/cms/mutations/drink.ex +++ b/lib/groupher_server_web/schema/cms/mutations/drink.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Drink do field :create_drink, :drink do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:thread, :thread, default_value: :drink) arg(:article_tags, list_of(:id)) diff --git a/lib/groupher_server_web/schema/cms/mutations/guide.ex b/lib/groupher_server_web/schema/cms/mutations/guide.ex index a7f19d69b..411782c31 100644 --- a/lib/groupher_server_web/schema/cms/mutations/guide.ex +++ b/lib/groupher_server_web/schema/cms/mutations/guide.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Guide do field :create_guide, :guide do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:thread, :thread, default_value: :guide) arg(:article_tags, list_of(:id)) diff --git a/lib/groupher_server_web/schema/cms/mutations/job.ex b/lib/groupher_server_web/schema/cms/mutations/job.ex index 6af88db1c..3cba79736 100644 --- a/lib/groupher_server_web/schema/cms/mutations/job.ex +++ b/lib/groupher_server_web/schema/cms/mutations/job.ex @@ -12,7 +12,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Job do arg(:company, non_null(:string)) arg(:company_link, :string) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:desc, :string) diff --git a/lib/groupher_server_web/schema/cms/mutations/meetup.ex b/lib/groupher_server_web/schema/cms/mutations/meetup.ex index 9ace7625e..7ef92d3bb 100644 --- a/lib/groupher_server_web/schema/cms/mutations/meetup.ex +++ b/lib/groupher_server_web/schema/cms/mutations/meetup.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Meetup do field :create_meetup, :meetup do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:thread, :thread, default_value: :meetup) arg(:article_tags, list_of(:id)) diff --git a/lib/groupher_server_web/schema/cms/mutations/post.ex b/lib/groupher_server_web/schema/cms/mutations/post.ex index 5429be9ca..8a0c71df6 100644 --- a/lib/groupher_server_web/schema/cms/mutations/post.ex +++ b/lib/groupher_server_web/schema/cms/mutations/post.ex @@ -11,7 +11,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Post do field :create_post, :post do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:link_addr, :string) arg(:copy_right, :string) arg(:community_id, non_null(:id)) diff --git a/lib/groupher_server_web/schema/cms/mutations/radar.ex b/lib/groupher_server_web/schema/cms/mutations/radar.ex index 81d3fff5c..c77b1b0b9 100644 --- a/lib/groupher_server_web/schema/cms/mutations/radar.ex +++ b/lib/groupher_server_web/schema/cms/mutations/radar.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Radar do field :create_radar, :radar do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:thread, :thread, default_value: :radar) arg(:article_tags, list_of(:id)) diff --git a/lib/groupher_server_web/schema/cms/mutations/works.ex b/lib/groupher_server_web/schema/cms/mutations/works.ex index 70a1c1c48..544635926 100644 --- a/lib/groupher_server_web/schema/cms/mutations/works.ex +++ b/lib/groupher_server_web/schema/cms/mutations/works.ex @@ -10,7 +10,6 @@ defmodule GroupherServerWeb.Schema.CMS.Mutations.Works do field :create_works, :works do arg(:title, non_null(:string)) arg(:body, non_null(:string)) - arg(:digest, non_null(:string)) arg(:community_id, non_null(:id)) arg(:thread, :thread, default_value: :works) arg(:article_tags, list_of(:id)) diff --git a/test/groupher_server_web/mutation/cms/articles/blog_test.exs b/test/groupher_server_web/mutation/cms/articles/blog_test.exs index 4467109d5..644e3757a 100644 --- a/test/groupher_server_web/mutation/cms/articles/blog_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/blog_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Blog do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createBlog( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/drink_test.exs b/test/groupher_server_web/mutation/cms/articles/drink_test.exs index 6c7081d07..bd3d49a6f 100644 --- a/test/groupher_server_web/mutation/cms/articles/drink_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/drink_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Drink do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createDrink( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/guide_test.exs b/test/groupher_server_web/mutation/cms/articles/guide_test.exs index 079e7abfa..6dda5b376 100644 --- a/test/groupher_server_web/mutation/cms/articles/guide_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/guide_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Guide do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createGuide( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/job_test.exs b/test/groupher_server_web/mutation/cms/articles/job_test.exs index 77cb1d966..e95b7cfda 100644 --- a/test/groupher_server_web/mutation/cms/articles/job_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/job_test.exs @@ -25,7 +25,6 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do mutation ( $title: String!, $body: String!, - $digest: String!, $communityId: ID!, $company: String!, $articleTags: [Id] @@ -33,7 +32,6 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do createJob( title: $title, body: $body, - digest: $digest, communityId: $communityId, company: $company, articleTags: $articleTags diff --git a/test/groupher_server_web/mutation/cms/articles/meetup_test.exs b/test/groupher_server_web/mutation/cms/articles/meetup_test.exs index 2dceec8cc..e61324ee5 100644 --- a/test/groupher_server_web/mutation/cms/articles/meetup_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/meetup_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Meetup do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createMeetup( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/post_test.exs b/test/groupher_server_web/mutation/cms/articles/post_test.exs index 6fd8803fa..2b7b9db1e 100644 --- a/test/groupher_server_web/mutation/cms/articles/post_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/post_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Post do mutation( $title: String! $body: String! - $digest: String! $communityId: ID! $articleTags: [Id] ) { createPost( title: $title body: $body - digest: $digest communityId: $communityId articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/radar_test.exs b/test/groupher_server_web/mutation/cms/articles/radar_test.exs index 64586d380..84d0c6839 100644 --- a/test/groupher_server_web/mutation/cms/articles/radar_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/radar_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Radar do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createRadar( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/articles/works_test.exs b/test/groupher_server_web/mutation/cms/articles/works_test.exs index 763bc4025..a63ba0e03 100644 --- a/test/groupher_server_web/mutation/cms/articles/works_test.exs +++ b/test/groupher_server_web/mutation/cms/articles/works_test.exs @@ -25,14 +25,12 @@ defmodule GroupherServer.Test.Mutation.Articles.Works do mutation ( $title: String!, $body: String, - $digest: String!, $communityId: ID!, $articleTags: [Id] ) { createWorks( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) { diff --git a/test/groupher_server_web/mutation/cms/publish_throttle_test.exs b/test/groupher_server_web/mutation/cms/publish_throttle_test.exs index 85af194a3..645d4407e 100644 --- a/test/groupher_server_web/mutation/cms/publish_throttle_test.exs +++ b/test/groupher_server_web/mutation/cms/publish_throttle_test.exs @@ -23,13 +23,11 @@ defmodule GroupherServer.Test.Mutation.PublishThrottle do mutation( $title: String! $body: String! - $digest: String! $communityId: ID! ) { createPost( title: $title body: $body - digest: $digest communityId: $communityId ) { title diff --git a/test/groupher_server_web/mutation/statistics/statistics_test.exs b/test/groupher_server_web/mutation/statistics/statistics_test.exs index 5e1c696c1..efb69be7e 100644 --- a/test/groupher_server_web/mutation/statistics/statistics_test.exs +++ b/test/groupher_server_web/mutation/statistics/statistics_test.exs @@ -21,14 +21,12 @@ defmodule GroupherServer.Test.Mutation.Statistics do mutation( $title: String! $body: String! - $digest: String! $communityId: ID! $articleTags: [Ids] ) { createPost( title: $title body: $body - digest: $digest communityId: $communityId articleTags: $articleTags ) { @@ -62,7 +60,6 @@ defmodule GroupherServer.Test.Mutation.Statistics do mutation ( $title: String!, $body: String!, - $digest: String!, $communityId: ID!, $company: String!, $articleTags: [Ids] @@ -70,7 +67,6 @@ defmodule GroupherServer.Test.Mutation.Statistics do createJob( title: $title, body: $body, - digest: $digest, communityId: $communityId, company: $company, articleTags: $articleTags @@ -98,14 +94,12 @@ defmodule GroupherServer.Test.Mutation.Statistics do mutation ( $title: String!, $body: String!, - $digest: String!, $communityId: ID!, $articleTags: [Ids] ) { createBlog( title: $title, body: $body, - digest: $digest, communityId: $communityId, articleTags: $articleTags ) {