fix: identityAccessTokenDALFactory.findOne dal function

This commit is contained in:
Piyush Gupta
2025-11-12 23:27:19 +05:30
parent 4091dc53a5
commit a76e323b6c
2 changed files with 5 additions and 2 deletions
@@ -18,7 +18,6 @@ export const identityAccessTokenDALFactory = (db: TDbClient) => {
.where(filter)
.join(TableName.Identity, `${TableName.Identity}.id`, `${TableName.IdentityAccessToken}.identityId`)
.select(selectAllTableCols(TableName.IdentityAccessToken))
.select(db.ref("name").withSchema(TableName.Identity))
.select(db.ref("orgId").withSchema(TableName.Identity).as("identityScopeOrgId"))
.first();