diff --git a/packages/backend/src/server/api/mastodon/converters.ts b/packages/backend/src/server/api/mastodon/converters.ts index 94b70230d..a4429af67 100644 --- a/packages/backend/src/server/api/mastodon/converters.ts +++ b/packages/backend/src/server/api/mastodon/converters.ts @@ -26,7 +26,8 @@ export function convertId(in_id: string, id_convert_type: IdConvertType): string outStr = charFromNum(remainder) + outStr; input /= BigInt(36); } - return outStr; + let ReversedoutStr = outStr.split("").reduce((acc, char) => char + acc, ""); + return ReversedoutStr; default: throw new Error('Invalid ID conversion type');