funky-framadate-front/src/app/core/services/uuid.service.ts

14 lines
246 B
TypeScript
Raw Normal View History

import { Injectable } from '@angular/core';
import ShortUniqueId from 'short-unique-id';
@Injectable({
providedIn: 'root',
})
export class UuidService {
private uid = new ShortUniqueId();
public getUUID(): string {
return this.uid();
}
}