Skip to content

Commit 96d708c

Browse files
committed
Remove unneeded username cache
1 parent 851bd66 commit 96d708c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/models/organization.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,6 @@ async function removeManager(id, osmId) {
238238
* @return {promise}
239239
*/
240240
async function createOrgTeam(organizationId, data, osmId) {
241-
// Cache username
242-
await team.resolveMemberNames([osmId])
243-
244241
return db.transaction(async (trx) => {
245242
const record = await team.create(data, osmId, trx)
246243
await trx('organization_team').insert({

0 commit comments

Comments
 (0)