forked from Silverfish/proton-bridge
fix(GODT-3106): Broken import route
https://github.com/ProtonMail/go-proton-api/pull/123
This commit is contained in:
@ -362,8 +362,8 @@ func createContact(ctx context.Context, c *proton.Client, contact, name string,
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if res[0].Response.Response.Code != proton.SuccessCode {
|
||||
return errors.New("APIError " + res[0].Response.Response.Message + " while creating contact")
|
||||
if res[0].Response.Code != proton.SuccessCode {
|
||||
return errors.New("APIError " + res[0].Response.Message + " while creating contact")
|
||||
}
|
||||
|
||||
if settings != nil {
|
||||
|
||||
Reference in New Issue
Block a user