last from journey

This commit is contained in:
stef
2025-12-07 01:05:49 +01:00
parent ecd36f186c
commit 2500292997
4 changed files with 77 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ func (m *MongoStore) SaveCertificate(id string, cert *pki.Certificate) error {
}
// GetCertificate récupère un certificat depuis MongoDB
func (m *MongoStore) GetCertificate(id string) (*pki.Certificate, error) {
func (m *MongoStore) GetCertificate(id string) (*pki.Certificate,error) {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()