Skip to content

Commit

Permalink
API-26689: No need to scrub the doc_type key anymore as it does not e…
Browse files Browse the repository at this point in the history
…xist (#12782)
  • Loading branch information
kristen-brown authored May 25, 2023
1 parent cbd9460 commit b93fdaa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class UploadSerializer < ActiveModel::Serializer
module ClassMethods
include PDFInspector::Constants
def scrub_unnecessary_keys(pdf_hash)
pdf_hash.delete(DOC_TYPE_KEY.to_s)
pdf_hash.delete(SOURCE_KEY.to_s)
pdf_hash.delete('submitted_line_of_business')

Expand Down
1 change: 0 additions & 1 deletion modules/vba_documents/lib/vba_documents/pdf_inspector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class PDFInspector
attr_accessor :file, :pdf_data, :parts

module Constants
DOC_TYPE_KEY = :doc_type
SOURCE_KEY = :source
end
include Constants
Expand Down

0 comments on commit b93fdaa

Please sign in to comment.