summary refs log tree commit diff
path: root/src/api/routes/guilds/#guild_id/roles/#role_id/members.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/guilds/#guild_id/roles/#role_id/members.ts')
-rw-r--r--src/api/routes/guilds/#guild_id/roles/#role_id/members.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/guilds/#guild_id/roles/#role_id/members.ts b/src/api/routes/guilds/#guild_id/roles/#role_id/members.ts
index 6b9fad9c..705848aa 100644
--- a/src/api/routes/guilds/#guild_id/roles/#role_id/members.ts
+++ b/src/api/routes/guilds/#guild_id/roles/#role_id/members.ts
@@ -42,6 +42,7 @@ router.patch(
 				!member.roles.map((role) => role.id).includes(role_id),
 		);
 
+		// TODO (erkin): have a bulk add/remove function that adds the roles in a single txn
 		await Promise.all([
 			...add.map((member) =>
 				Member.addRole(member.id, guild_id, role_id),