From cc8948c708cdb00c28341e42c7b321f0ffa4d37b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 9 Jan 2022 03:34:08 +0100 Subject: [PATCH] fix sample url --- InvenTree/plugin/builtin/integration/mixins.py | 2 +- InvenTree/plugin/samples/integration/api_caller.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/builtin/integration/mixins.py b/InvenTree/plugin/builtin/integration/mixins.py index c8bb9f7f9e..66676d0520 100644 --- a/InvenTree/plugin/builtin/integration/mixins.py +++ b/InvenTree/plugin/builtin/integration/mixins.py @@ -338,7 +338,7 @@ class APICallMixin: 'API_URL': { 'name': 'External URL', 'description': 'Where is your API located?', - 'default': 'https://reqres.in', + 'default': 'reqres.in', }, } API_URL_SETTING = 'API_URL' diff --git a/InvenTree/plugin/samples/integration/api_caller.py b/InvenTree/plugin/samples/integration/api_caller.py index 7e5c883961..36e1583ba0 100644 --- a/InvenTree/plugin/samples/integration/api_caller.py +++ b/InvenTree/plugin/samples/integration/api_caller.py @@ -19,7 +19,7 @@ class SampleApiCallerPlugin(APICallMixin, SettingsMixin, IntegrationPluginBase): 'API_URL': { 'name': 'External URL', 'description': 'Where is your API located?', - 'default': 'https://reqres.in', + 'default': 'reqres.in', }, } API_URL_SETTING = 'API_URL'