Skip to content

Commit

Permalink
Add historic_appointment to the list of schema types
Browse files Browse the repository at this point in the history
It was added in alphagov/publishing-api#2260

It'll resolve the following error:
  Etl::Edition::Content::Parser::InvalidSchemaError
  Schema does not exist: historic_appointment (Etl::Edition::Content::Parser::InvalidSchemaError)

https://govuk.sentry.io/issues/5419623794/events/1d64a46997ec4b11a8b255dd02dfb600/
  • Loading branch information
AgaDufrat committed Oct 16, 2024
1 parent dae6659 commit 393c4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/domain/etl/edition/content/parsers/no_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def schemas
generic
government
historic_appointments
historic_appointment
homepage
how_government_works
knowledge_alpha
Expand Down
1 change: 1 addition & 0 deletions spec/domain/etl/edition/content/no_content_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
generic
government
historic_appointments
historic_appointment
homepage
how_government_works
knowledge_alpha
Expand Down

0 comments on commit 393c4a9

Please sign in to comment.