monorepo/services/mixins/google.mixin.ts

14 lines
270 B
TypeScript
Raw Normal View History

2021-04-01 17:58:41 +00:00
import { google, GoogleApis, youtube_v3 } from "googleapis"
export default class GoogleServices{
public google: GoogleApis = google
private key: string = process.env.GOOGLE_KEY
public constructor () {
this.google.options({
auth: this.key
})
}
}