GODT-1686: Add Label/Folder filtering to pmapi

This commit is contained in:
Romain Le Jeune
2022-07-13 13:02:11 +00:00
parent 2566bdcedf
commit dd1e2b2100
11 changed files with 422 additions and 17 deletions

View File

@ -57,7 +57,7 @@ func thereIsUserWithMailbox(bddUserID, mailboxName string) error {
}
err := ctx.GetPMAPIController().AddUserLabel(account.Username(), &pmapi.Label{
Name: mailboxName,
Type: pmapi.LabelTypeMailbox,
Type: pmapi.LabelTypeMailBox,
})
if err != nil {
return internalError(err, "adding label %s for %s", mailboxName, account.Username())