Skip to content

Commit

Permalink
Merge branch 'master' of github.com:LCOGT/observation-portal into swi…
Browse files Browse the repository at this point in the history
…tch_instrument_states
  • Loading branch information
Jon committed Aug 9, 2019
2 parents 43d24bf + edc1d49 commit 7ae68e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions observation_portal/userrequests/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import copy
import requests

VALHALLA_API_TOKEN = os.getenv('VALHALLA_API_TOKEN', 'd7844baee20312a243ebc2551ecf99f02484d446')
VALHALLA_API_TOKEN = os.getenv('VALHALLA_API_TOKEN', 'changeme')
VALHALLA_URL = os.getenv('VALHALLA_URL', 'http://valhalla-request-shim.lco.gtn/api/userrequests/')
if not VALHALLA_URL.endswith('/'):
VALHALLA_URL += '/'
VALHALLA_HEADERS = {'Authorization': 'Token ' + str(VALHALLA_API_TOKEN)}
VALIDATION_PROPOSAL = os.getenv('VALHALLA_VALIDATE_PROPOSAL', 'ValidationProposal')
VALIDATION_PROPOSAL = os.getenv('VALHALLA_VALIDATE_PROPOSAL', 'changeme')


def ur_target_type_to_rg(target_type):
Expand Down

0 comments on commit 7ae68e5

Please sign in to comment.