#include <maps/wikimap/mapspro/services/gdpr/src/lib/dbpools.h>

namespace maps::wiki::gdpr {

namespace {

const std::string CORE = "core";
const std::string SOCIAL = "social";

} // namespace

DbPools::DbPools(
    const common::ExtendedXmlDoc& config,
    const std::string& poolId
)
    : core_(config, CORE, poolId.empty() ? CORE : poolId)
    , social_(config, SOCIAL, poolId.empty() ? SOCIAL : poolId)
{}

} // namespace maps::wiki::gdpr
