import json


def response_success(data):
    """Return success response."""
    body = {
        "error": None,
        "code": 200,
    }
    data.update(body)
    return {
        "statusCode": 200,
        "body": json.dumps(data)
    }