prepare switch to le-acme-core

This commit is contained in:
2016-11-09 18:01:31 +01:00
parent 11f12d7c0e
commit 7bfc4e279f
5 changed files with 321 additions and 318 deletions

View File

@ -12,9 +12,9 @@ export class SmartAcme {
* creates an account
*/
createAccount() {
this.acmeClient.createAccount('test@bleu.de',(answer) => {
this.acmeClient.createAccount('test@bleu.de').then((answer) => {
console.log(answer)
})
}).catch(err => { console.log(err) })
}
/**