Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Emmanuel Awotunde olaoluwa-98

🏠
Working from home
View GitHub Profile
@olaoluwa-98
olaoluwa-98 / Kwik.js
Created Jun 2, 2020
Kwik implementation
View Kwik.js
"use strict";
const KwikPackage = require("kwik-node");
const ThirdPartyException = require("../../exceptions/ThirdPartyException");
const KwikAPI = new KwikPackage(process.env.KWIK_DOMAIN_NAME, process.env.NODE_ENV == "production");
class Kwik {
static async getToken() {
let { body: res } = await KwikAPI.adminLogin({
You can’t perform that action at this time.