diff options
-rw-r--r-- | awxkit/awxkit/api/pages/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/awxkit/awxkit/api/pages/api.py b/awxkit/awxkit/api/pages/api.py index 5b001ae560..4f2434125f 100644 --- a/awxkit/awxkit/api/pages/api.py +++ b/awxkit/awxkit/api/pages/api.py @@ -199,7 +199,7 @@ class ApiV2(base.Base): return None fields['natural_key'] = natural_key - return utils.remove_encrypted(fields) + return fields def _export_list(self, endpoint): post_fields = utils.get_post_fields(endpoint, self._cache) @@ -280,7 +280,7 @@ class ApiV2(base.Base): _page = self._cache.get_by_natural_key(value) post_data[field] = _page['id'] if _page is not None else None else: - post_data[field] = value + post_data[field] = utils.remove_encrypted(value) _page = self._cache.get_by_natural_key(asset['natural_key']) try: |