mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 21:36:37 +00:00
Temp dont ignore org
This commit is contained in:
@@ -6,7 +6,7 @@ export async function getCountryCodeForIp(
|
|||||||
): Promise<string | undefined> {
|
): Promise<string | undefined> {
|
||||||
try {
|
try {
|
||||||
if (!maxmindLookup) {
|
if (!maxmindLookup) {
|
||||||
logger.warn(
|
logger.debug(
|
||||||
"MaxMind DB path not configured, cannot perform GeoIP lookup"
|
"MaxMind DB path not configured, cannot perform GeoIP lookup"
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -69,7 +69,8 @@ export async function logRequestAudit(
|
|||||||
|
|
||||||
if (!orgId) {
|
if (!orgId) {
|
||||||
logger.warn("logRequestAudit: No organization context found");
|
logger.warn("logRequestAudit: No organization context found");
|
||||||
return;
|
orgId = "unknown";
|
||||||
|
// return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!actorType || !actor || !actorId) {
|
// if (!actorType || !actor || !actorId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user