mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 14:18:17 +00:00
refactor(project): remove unnecessary as any cast in project member api
This commit is contained in:
@@ -320,8 +320,7 @@ const route = new Hono<{ Variables: { user: User } }>()
|
||||
await projectService.addProjectMember({
|
||||
projectId,
|
||||
userId: req.userId,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
role: req.role as any,
|
||||
role: req.role,
|
||||
})
|
||||
|
||||
return c.json({ success: true })
|
||||
|
||||
Reference in New Issue
Block a user