snapctl 0.42.0__tar.gz → 0.42.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of snapctl might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snapctl
3
- Version: 0.42.0
3
+ Version: 0.42.1
4
4
  Summary: Snapser CLI Tool
5
5
  Author: Ajinkya Apte
6
6
  Author-email: aj@snapser.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "snapctl"
3
- version = "0.42.0"
3
+ version = "0.42.1"
4
4
  description = "Snapser CLI Tool"
5
5
  authors = ["Ajinkya Apte <aj@snapser.com>"]
6
6
  readme = "README.md"
@@ -2,7 +2,7 @@
2
2
  Constants used by snapctl
3
3
  """
4
4
  COMPANY_NAME = 'Snapser'
5
- VERSION = '0.42.0'
5
+ VERSION = '0.42.1'
6
6
  CONFIG_FILE_MAC = '~/.snapser/config'
7
7
  CONFIG_FILE_WIN = '%homepath%\\.snapser\\config'
8
8
 
@@ -19,7 +19,7 @@ def validate_api_key(base_url: str, api_key: Union[str, None]) -> bool:
19
19
  """
20
20
  try:
21
21
  url = f"{base_url}/v1/snapser-api/validate"
22
- res = requests.get(
22
+ res = requests.post(
23
23
  url, json={'api_key': api_key},
24
24
  timeout=SERVER_CALL_TIMEOUT
25
25
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes