import { Injectable } from '@nestjs/common';
import * as QRCode from 'qrcode';
@Injectable()
export class QRCodeService {
public async createQRDataURI(input: string): Promise<string> {
return QRCode.toDataURL(input);
}