mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 06:54:28 +00:00
refactor(project): remove unnecessary explicit any cast in updateMemberRole
This commit is contained in:
@@ -419,8 +419,7 @@ export class ProjectService {
|
|||||||
data: {
|
data: {
|
||||||
projectId: req.projectId,
|
projectId: req.projectId,
|
||||||
teamMemberId: tm.id,
|
teamMemberId: tm.id,
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
role: req.role,
|
||||||
role: req.role as any,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user