Update return type for Facebook verification
This commit is contained in:
parent
f6dc60eb08
commit
e22a8e8d98
7 changed files with 939 additions and 475 deletions
|
|
@ -1,5 +1,10 @@
|
|||
import { ServiceConfig } from "../lib/service";
|
||||
|
||||
const getQRCode = async (id: string) => {
|
||||
console.log("Getting QR code");
|
||||
return "xya"; // "2hVSc9OT18wbo60WLKlVrd5KqQqYZWdH+kVlRYlrnZcKbjbzwcL4ybkS1/jGaN5bLafX9ZaR829xyhQ=";
|
||||
};
|
||||
|
||||
export const whatsappConfig: ServiceConfig = {
|
||||
entity: "whatsapp",
|
||||
table: "WhatsappBot",
|
||||
|
|
@ -59,6 +64,15 @@ export const whatsappConfig: ServiceConfig = {
|
|||
label: "Token",
|
||||
copyable: true,
|
||||
},
|
||||
{
|
||||
name: "qrcode",
|
||||
label: "QR Code",
|
||||
kind: "qrcode",
|
||||
size: 4,
|
||||
getValue: getQRCode,
|
||||
helperText: "Go ahead, scan it",
|
||||
refreshInterval: 5,
|
||||
},
|
||||
],
|
||||
listColumns: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue