GODT-1201: bump gopenpgp to 2.1.10 and update crypto time

This commit is contained in:
James Houlahan
2021-06-16 14:38:39 +02:00
parent ef1223391b
commit 2cce29e858
4 changed files with 15 additions and 3 deletions

View File

@ -59,6 +59,7 @@ func newManager(cfg Config) *manager {
// wrapped in JSON. If error is returned, `handleRequestFailure` is called,
// otherwise `handleRequestSuccess` is called.
m.rc.SetError(&Error{})
m.rc.OnAfterResponse(updateTime)
m.rc.OnAfterResponse(m.catchAPIError)
m.rc.OnAfterResponse(m.handleRequestSuccess)
m.rc.OnError(m.handleRequestFailure)