generated from VLADIMIR/template
up
This commit is contained in:
@@ -52,7 +52,9 @@ func (s *server) GetDevices(ctx context.Context, req *proto.GetDevicesReq) (*pro
|
||||
if err != nil {
|
||||
return nil, deviceErrorStatus(err)
|
||||
}
|
||||
wifi, stale := s.wifiService.Get(ctx)
|
||||
return &proto.GetDevicesRsp{
|
||||
Wifi: mapWiFi(wifi, stale),
|
||||
Devices: mapVenueDevices(devices),
|
||||
ServerTime: timestamppb.New(now),
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user