Skip to content

Commit 9ce9227

Browse files
Auto-update feature branch with changes from the main branch
2 parents 3271500 + 220eef4 commit 9ce9227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/routes/iam.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const iamRoutes: FastifyPluginAsync = async (fastify, _options) => {
215215
});
216216
const groupMembers = listGroupMembers(entraIdToken, groupId);
217217
const command = new PutItemCommand({
218-
TableName: `${genericConfig.IAMTablePrefix}-grouproles`,
218+
TableName: `${genericConfig.IAMTablePrefix}-assignments`,
219219
Item: marshall({
220220
id: `GROUP#${groupId}`,
221221
roles: request.body.roles,
@@ -247,7 +247,7 @@ const iamRoutes: FastifyPluginAsync = async (fastify, _options) => {
247247
});
248248
reply.send({ message: "OK" });
249249
} catch (e: unknown) {
250-
fastify.nodeCache.del(`grouproles - ${groupId}`);
250+
fastify.nodeCache.del(`grouproles-${groupId}`);
251251
if (e instanceof BaseError) {
252252
throw e;
253253
}

0 commit comments

Comments
 (0)