feat(139): auto extract account from Authorization

This commit is contained in:
Andy Hsu
2023-06-09 23:41:41 +08:00
parent 3bfa00d5d2
commit a66b0e0151
3 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import (
)
type Addition struct {
Account string `json:"account" required:"true"`
//Account string `json:"account" required:"true"`
Authorization string `json:"authorization" type:"text" required:"true"`
driver.RootID
Type string `json:"type" type:"select" options:"personal,family" default:"personal"`