From 3efd6265b3e1e152b45c5ca51a912d5351e1c376 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Mon, 22 Jul 2024 17:26:05 +0800 Subject: [PATCH] Revert "chore(*): remove assign" This reverts commit 1bc69518619b6ba5b79ece438edede631c110391. --- kong/db/dao/certificates.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/kong/db/dao/certificates.lua b/kong/db/dao/certificates.lua index 4e2db6c942bb4..f202b7d3400ff 100644 --- a/kong/db/dao/certificates.lua +++ b/kong/db/dao/certificates.lua @@ -60,6 +60,7 @@ function _Certificates:insert(cert, options) end end + cert.snis = nil cert, err, err_t = self.super.insert(self, cert, options) if not cert then return nil, err, err_t