[aimedb] Correct request type in LookupHandler

pull/1/head
Dom Eori 2021-12-11 16:54:04 +09:00
parent 7d4a8a4c65
commit de3d9dc189
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class LookupHandler implements BaseHandler {
@Override
public void handle(ChannelHandlerContext ctx, ByteBuf msg) throws JsonProcessingException {
Map<String, Object> requestMap = AimeDbUtil.getBaseInfo(msg);
requestMap.put("type", "lookup2");
requestMap.put("type", "lookup");
requestMap.put("luid", ByteBufUtil.hexDump(msg.slice(0x0020, 0x002a - 0x0020)));
logger.info("Request: " + logMapper.write(requestMap));