diff --git a/src/dlp-runner/main.py b/src/dlp-runner/main.py index 8bd9ecb..fa22e1a 100644 --- a/src/dlp-runner/main.py +++ b/src/dlp-runner/main.py @@ -39,4 +39,4 @@ def run_dlp_on_text(text_data, dlp_template, project_id): } ) - return proto.Message.to_dict(dlp_response.result) + return proto.Message.to_json(dlp_response.result)