File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func (t *TokenGroupDeploy) Internal() (d map[string]any) {
1818
1919func (t * TokenGroupDeploy ) Data () (d map [string ]any ) {
2020 d = map [string ]any {"username" : t .Username }
21- maps .Copy (d , t .TokenWithScopes .Internal ())
21+ maps .Copy (d , t .TokenWithScopes .Data ())
2222 return d
2323}
2424
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func (t *TokenPersonal) Internal() (d map[string]any) {
1919
2020func (t * TokenPersonal ) Data () (d map [string ]any ) {
2121 d = map [string ]any {"user_id" : t .UserID }
22- maps .Copy (d , t .TokenWithScopes .Internal ())
22+ maps .Copy (d , t .TokenWithScopes .Data ())
2323 return d
2424}
2525
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ func (t *TokenProjectDeploy) Internal() (d map[string]any) {
1616
1717func (t * TokenProjectDeploy ) Data () (d map [string ]any ) {
1818 d = map [string ]any {"username" : t .Username }
19- maps .Copy (d , t .TokenWithScopes .Internal ())
19+ maps .Copy (d , t .TokenWithScopes .Data ())
2020 return d
2121}
2222
You can’t perform that action at this time.
0 commit comments