Fix non-used declared properties bug
This commit is contained in:
parent
b5d089d4e0
commit
6ed01504ec
1 changed files with 3 additions and 1 deletions
|
@ -339,7 +339,9 @@ func checkBearer(c *fibre.Context, info string, callback func() error) (err erro
|
|||
|
||||
// Store the authenticated thing.
|
||||
|
||||
auth.Data = sql.NewThing(tbv, idv)
|
||||
if tbk && idk {
|
||||
auth.Data = sql.NewThing(tbv, idv)
|
||||
}
|
||||
|
||||
// Check that the scope specifies connect.
|
||||
|
||||
|
|
Loading…
Reference in a new issue