From 9ef1b1c30b7447342f49bc7749bf841a6f7081ab Mon Sep 17 00:00:00 2001 From: yulqen <246857+yulqen@users.noreply.github.com> Date: Fri, 6 May 2022 18:24:30 +0100 Subject: [PATCH] Fix for issue #213 - EncToken exception (#214) --- protonmail/messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protonmail/messages.go b/protonmail/messages.go index 89d42ae..843270e 100644 --- a/protonmail/messages.go +++ b/protonmail/messages.go @@ -394,7 +394,7 @@ type MessagePackage struct { PasswordHint string Auth interface{} // TODO Token string - EncToken string + EncToken string `json:",omitempty"` } type MessagePackageSet struct {