Skip to content

Commit 0f13dea

Browse files
authored
Merge pull request #247 from dadiorchen/fix-org-id
fix: org id return null
2 parents 61b0fc9 + 05d0060 commit 0f13dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/infra/database/OrganizationRepository.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export default class OrganizationRepository extends BaseRepository<Organization>
3737
.getDB()
3838
.select(
3939
this.session.getDB().raw(`
40-
*
40+
entity.*,
41+
l.country_id, l.country_name, l.continent_id, l.continent_name
4142
from entity
4243
left join webmap.organization_location l on l.id = entity.id
4344
`),

0 commit comments

Comments
 (0)