fixed missing apikey
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
412e35cb02
commit
ea6e99e4be
@ -82,7 +82,7 @@ class PanelRepository
|
||||
$statement->bindParam(param: ':name', var: $name);
|
||||
$statement->execute();
|
||||
if ($result = $statement->fetch(mode: PDO::FETCH_ASSOC)) {
|
||||
return new Panel(name: $result['name'], a: $result['a'], aaaa: $result['aaaa']);
|
||||
return new Panel(name: $result['name'], a: $result['a'], aaaa: $result['aaaa'], apikey: $result['apikey']);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user