fix(MikrotikConfigRoutes): update response format for address lists to use res.json for consistency
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m47s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m47s
This commit is contained in:
@@ -1246,7 +1246,8 @@ async function getAddressLists(req, res) {
|
||||
|
||||
logAddressListResponse(all, listRaw.length, ban.length, banCounter.length);
|
||||
|
||||
return sendOk(res, {
|
||||
return res.json({
|
||||
ok: true,
|
||||
serverId,
|
||||
serverLabel: server.dns || server.ip || serverId,
|
||||
ban,
|
||||
|
||||
Reference in New Issue
Block a user