Skip to content

Commit

Permalink
Cleanup for draft review
Browse files Browse the repository at this point in the history
Couple loose ends to clean up ahead of draft review
  • Loading branch information
NB28VT committed Mar 15, 2024
1 parent aaa88e5 commit a2476c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
22 changes: 0 additions & 22 deletions db/migrate/20240221211958_create_flipper_tables.rb

This file was deleted.

4 changes: 1 addition & 3 deletions lib/lighthouse/benefits_documents/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Configuration < Common::Client::Configuration::REST
SYSTEM_NAME = 'VA.gov'
API_SCOPES = %w[documents.read documents.write].freeze
DOCUMENTS_PATH = 'services/benefits-documents/v1/documents'
DOCUMENTS_STATUS_PATH = 'services/benefits-documents/uploads/status'
DOCUMENTS_STATUS_PATH = 'services/benefits-documents/v1/uploads/status'
TOKEN_PATH = 'oauth2/benefits-documents/system/v1/token'

##
Expand Down Expand Up @@ -105,7 +105,6 @@ def get_documents_status(lighthouse_document_request_ids)
}
}.to_json


connection.post(DOCUMENTS_STATUS_PATH, body, headers)
end

Expand Down Expand Up @@ -156,7 +155,6 @@ def access_token(lighthouse_client_id = nil, lighthouse_rsa_key_path = nil, opti
# @return [BenefitsClaims::AccessToken::Service] Service used to generate access tokens.
#
def token_service(lighthouse_client_id, lighthouse_rsa_key_path, aud_claim_url = nil, host = nil)

lighthouse_client_id = global_settings.ccg.client_id if lighthouse_client_id.nil?
lighthouse_rsa_key_path = global_settings.ccg.rsa_key if lighthouse_rsa_key_path.nil?
host ||= base_path(host)
Expand Down

0 comments on commit a2476c1

Please sign in to comment.