mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	fix settings call
This commit is contained in:
		| @@ -373,12 +373,12 @@ class APICallMixin: | ||||
|  | ||||
|     @property | ||||
|     def api_url(self): | ||||
|         return f'{self.API_METHOD}://{self.get_globalsetting(self.API_URL_SETTING)}' | ||||
|         return f'{self.API_METHOD}://{self.get_setting(self.API_URL_SETTING)}' | ||||
|  | ||||
|     @property | ||||
|     def api_headers(self): | ||||
|         return { | ||||
|             self.API_TOKEN: self.get_globalsetting(self.API_TOKEN_SETTING), | ||||
|             self.API_TOKEN: self.get_setting(self.API_TOKEN_SETTING), | ||||
|             'Content-Type': 'application/json' | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user