mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
341 B
TypeScript
14 lines
341 B
TypeScript
import * as dotenv from 'dotenv';
|
|
dotenv.config();
|
|
import { GetuiClient } from '../../../plugins/com.msgbyte.getui/lib/GetuiClient';
|
|
|
|
const client = new GetuiClient(
|
|
process.env.GETUI_APPID,
|
|
process.env.GETUI_APPKEY,
|
|
process.env.GETUI_MASTERSECRET
|
|
);
|
|
|
|
client.allPush('title', 'body', {}).then((res) => {
|
|
console.log('res', res);
|
|
});
|