mirror of https://github.com/perkeep/perkeep.git
server/perkeepd/ui: use TokenOrNone in selectall
Omission from 8130bd61ef
Change-Id: Iecf31de608283f12d48ef150d42c7cf55c055d16
This commit is contained in:
parent
bcb0ec628e
commit
dc4c57880c
|
@ -183,7 +183,7 @@ func (d SelectAllBtnDef) findAll() (map[string]bool, error) {
|
|||
return nil, nil
|
||||
}
|
||||
authToken := d.Props().authToken
|
||||
am, err := auth.NewTokenAuth(authToken)
|
||||
am, err := auth.TokenOrNone(authToken)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Error setting up auth: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue