fix: use hyphen in addSuffixToId to match removeSuffixFromId

This commit is contained in:
redshift
2026-04-30 11:20:16 +05:30
parent ee6fef9062
commit 91384b633e
+1 -1
View File
@@ -27,7 +27,7 @@ export function getNpubSuffix(config: RoutstrdConfig): string | null {
* Add suffix to a client ID.
*/
export function addSuffixToId(id: string, suffix: string): string {
return `${id}_${suffix}`;
return `${id}-${suffix}`;
}
/**