"""Logic for error correction assets.""" from assets.models import error_correction def rename_image_assets(product_id): """Rename image correction assets to overwrite the original assets. This assumes that the error correction image has been approved and thus its derivative assets should overwrite those for the original image. Args: product_id (int): id of the product that the image belongs to. Returns: Response: success or failure """ return error_correction.rename_image_assets(product_id)