mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-13 11:35:26 +00:00
Change build setup of JS clients, reintroduce beta publishing after losing it due to unmerged code (#238)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import * as twitter from "m3o/twitter";
|
||||
const { TwitterService } = require("m3o/twitter");
|
||||
|
||||
// Get the current global trending topics
|
||||
async function GetTheCurrentGlobalTrendingTopics() {
|
||||
let twitterService = new twitter.TwitterService(process.env.MICRO_API_TOKEN);
|
||||
async function getTheCurrentGlobalTrendingTopics() {
|
||||
let twitterService = new TwitterService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await twitterService.trends({});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await GetTheCurrentGlobalTrendingTopics();
|
||||
getTheCurrentGlobalTrendingTopics();
|
||||
|
||||
Reference in New Issue
Block a user