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,12 +1,12 @@
|
||||
import * as twitter from "m3o/twitter";
|
||||
const { TwitterService } = require("m3o/twitter");
|
||||
|
||||
// Search for tweets with a simple query
|
||||
async function SearchForTweets() {
|
||||
let twitterService = new twitter.TwitterService(process.env.MICRO_API_TOKEN);
|
||||
async function searchForTweets() {
|
||||
let twitterService = new TwitterService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await twitterService.search({
|
||||
query: "cats",
|
||||
});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await SearchForTweets();
|
||||
searchForTweets();
|
||||
|
||||
Reference in New Issue
Block a user