Allow photo posts
This commit is contained in:
@@ -11,6 +11,7 @@ module Adamantium
|
||||
required(:slug).filled(:string)
|
||||
required(:post_type).value(included_in?: %w[bookmark])
|
||||
required(:syndicate_to).array(:string)
|
||||
required(:photos).array(:hash)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -10,6 +10,7 @@ module Adamantium
|
||||
required(:slug).filled(:string)
|
||||
required(:post_type).value(included_in?: %w[post])
|
||||
required(:syndicate_to).array(:string)
|
||||
required(:photos).array(:hash)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user