fix(teambition): empty token for upload (close #3854)

This commit is contained in:
Andy Hsu
2023-03-15 14:56:41 +08:00
parent 443f5ffbcc
commit a1e88cfa05
2 changed files with 4 additions and 3 deletions

View File

@ -210,7 +210,7 @@ func (d *Teambition) finishUpload(file *FileUpload, parentId string) error {
return err
}
func GetBetweenStr(str, start, end string) string {
func getBetweenStr(str, start, end string) string {
n := strings.Index(str, start)
if n == -1 {
return ""