From f9af051ce919a9137e438af8a92a0ad48ddcefb7 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Tue, 12 Sep 2023 23:15:59 -0700 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-7831 Signed-off-by: stephb9959 --- src/RESTAPI/RESTAPI_openroaming_gr_cert_handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RESTAPI/RESTAPI_openroaming_gr_cert_handler.cpp b/src/RESTAPI/RESTAPI_openroaming_gr_cert_handler.cpp index 2f39cb8..a122dae 100644 --- a/src/RESTAPI/RESTAPI_openroaming_gr_cert_handler.cpp +++ b/src/RESTAPI/RESTAPI_openroaming_gr_cert_handler.cpp @@ -68,6 +68,8 @@ namespace OpenWifi { if(OpenRoaming_GlobalReach()->CreateRADSECCertificate(AccountInfo.GlobalReachAcctId,NewObject.name,AccountInfo.CSR, NewObject)) { NewObject.id = MicroServiceCreateUUID(); NewObject.accountId = Account; + NewObject.created = Utils::Now(); + NewObject.csr = AccountInfo.CSR; DB_.CreateRecord(NewObject); ProvObjects::GLBLRCertificateInfo CreatedObject; DB_.GetRecord("id",NewObject.id,CreatedObject);