mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -05:00 
			
		
		
		
	Make sure the result form uses request GET params
This commit is contained in:
		@ -19,7 +19,7 @@ class LocationResult(APIView):
 | 
			
		||||
	Show the result for a specific location
 | 
			
		||||
	'''
 | 
			
		||||
	def get(self, request, format=None):
 | 
			
		||||
		l_form = LocationValidator(data=request.data)
 | 
			
		||||
		l_form = LocationValidator(data=request.GET)
 | 
			
		||||
		if l_form.is_valid():
 | 
			
		||||
			location = l_form._instance
 | 
			
		||||
			return Response(location.result)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user