mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2025-12-23 23:57:50 -05:00
feat: Add ParentID to Label
This commit is contained in:
@@ -22,6 +22,8 @@ const (
|
||||
|
||||
type Label struct {
|
||||
ID string
|
||||
ParentID string
|
||||
|
||||
Name string
|
||||
Path []string
|
||||
Color string
|
||||
|
||||
@@ -32,6 +32,7 @@ func (label *label) toLabel(labels map[string]*label) proton.Label {
|
||||
|
||||
return proton.Label{
|
||||
ID: label.labelID,
|
||||
ParentID: label.parentID,
|
||||
Name: label.name,
|
||||
Path: path,
|
||||
Type: label.labelType,
|
||||
|
||||
Reference in New Issue
Block a user