refactor: rebrand project to HartOMat
This commit is contained in:
@@ -89,7 +89,7 @@ async def get_material_pbr_map(db: AsyncSession = Depends(get_db)):
|
||||
}
|
||||
|
||||
# Also index by aliases so frontend can look up by raw Excel names
|
||||
# (e.g. "Steel--Stahl" → same PBR as "SCHAEFFLER_010101_Steel-Bare")
|
||||
# (e.g. "Steel--Stahl" → same PBR as "HARTOMAT_010101_Steel-Bare")
|
||||
# Bypass RLS — this is public data and aliases may have NULL tenant_id
|
||||
if pbr_map:
|
||||
await db.execute(text("SET LOCAL app.current_tenant_id = 'bypass'"))
|
||||
|
||||
Reference in New Issue
Block a user