mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46:44 +00:00
GODT-1686: Add Label/Folder filtering to pmapi
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user