mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
14 lines
246 B
TypeScript
14 lines
246 B
TypeScript
|
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();
|
||
|
}
|
||
|
}
|