mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: change guild member cache identity to be suffixed with /roles as there is an expected change schema change
This commit is contained in:
parent
226e212cb9
commit
52a8dcdf76
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ type APIMember = {
|
|||
};
|
||||
|
||||
const guildMemberRolesIdentity = ({ serverID, userID }: GuildMemberIdentity) =>
|
||||
`guilds/${serverID}/members/${userID}`;
|
||||
`guilds/${serverID}/members/${userID}/roles`;
|
||||
|
||||
export const getGuildMemberRoles = cacheLayer<GuildMemberIdentity, Role['id'][]>(
|
||||
Guilds,
|
||||
|
|
Loading…
Add table
Reference in a new issue