Skip to content
Snippets Groups Projects
Verified Commit 9dfc4dbf authored by Mar0xy's avatar Mar0xy
Browse files

fix: converter returning sharkeyid wrong

parent ceffd53d
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment