dist
This commit is contained in:
@@ -30,6 +30,9 @@ export async function previewCover(file: any): Promise<string> {
|
||||
*/
|
||||
|
||||
export function saveValue(key: string, value: any): boolean{
|
||||
if(key == "token"){
|
||||
saveValue("time",new Date().getTime())
|
||||
}
|
||||
if(typeof value == 'object'){
|
||||
value = JSON.stringify(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user