mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-15 04:24:44 +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 emoji from "m3o/emoji";
|
||||
const { EmojiService } = require("m3o/emoji");
|
||||
|
||||
// Find an emoji by its alias e.g :beer:
|
||||
async function FindEmoji() {
|
||||
let emojiService = new emoji.EmojiService(process.env.MICRO_API_TOKEN);
|
||||
async function findEmoji() {
|
||||
let emojiService = new EmojiService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await emojiService.find({
|
||||
alias: ":beer:",
|
||||
});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await FindEmoji();
|
||||
findEmoji();
|
||||
|
||||
Reference in New Issue
Block a user