mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
error code 502 -> 200
This commit is contained in:
@@ -280,7 +280,7 @@ def get_users(username):
|
||||
|
||||
reply[username] = profile
|
||||
if 'error' in profile:
|
||||
status_code = 502
|
||||
status_code = 200
|
||||
if 'status_code' in profile:
|
||||
status_code = profile['status_code']
|
||||
del profile['status_code']
|
||||
|
||||
Reference in New Issue
Block a user