Fixed stats resetting due to breaking change
This commit is contained in:
@@ -14,7 +14,7 @@ import * as fjs from "formatted-json-stringify"
|
|||||||
/** ## ❌ Temporary function. Will be removed on full OTv4 release! */
|
/** ## ❌ Temporary function. Will be removed on full OTv4 release! */
|
||||||
export function TEMP_migrateDatabaseIdPrefix(id:string): string {
|
export function TEMP_migrateDatabaseIdPrefix(id:string): string {
|
||||||
if (!id.startsWith("openticket:")) return id
|
if (!id.startsWith("openticket:")) return id
|
||||||
return id.replace("openticket:","opendiscord:")
|
return id.replaceAll("openticket:","opendiscord:")
|
||||||
}
|
}
|
||||||
/** ## ❌ Temporary function. Will be removed on full OTv4 release! */
|
/** ## ❌ Temporary function. Will be removed on full OTv4 release! */
|
||||||
export function TEMP_migrateDatabaseValuePrefix(value:string): string {
|
export function TEMP_migrateDatabaseValuePrefix(value:string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user