mirror of
https://github.com/Routstr/routstrd.git
synced 2026-07-30 15:46:14 +00:00
fix: use hyphen in addSuffixToId to match removeSuffixFromId
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user