last from journey
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user