chore: update channel prefixes for pubsub

This commit is contained in:
Jack Waller
2024-05-22 14:06:54 +10:00
parent 956a031fec
commit 304e1e9bd0
7 changed files with 33 additions and 33 deletions

View File

@@ -347,11 +347,13 @@ export const getAccountFromId = async (
) => {
return Promise.all(
topMakers.map(async (accountId) => {
const userMap = await userMapClient.getRaw(accountId);
if (userMap) {
const userAccountEncoded = await userMapClient.getRaw(accountId);
if (userAccountEncoded) {
return {
accountId,
account: decodeUser(Buffer.from(userMap.split('::')[1], 'base64')),
account: decodeUser(
Buffer.from(userAccountEncoded.split('::')[1], 'base64')
),
};
}
return {