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,8 +1,8 @@
|
||||
import * as sunnah from "m3o/sunnah";
|
||||
const { SunnahService } = require("m3o/sunnah");
|
||||
|
||||
// Get all the chapters of a given book within a collection.
|
||||
async function ListTheChaptersInAbook() {
|
||||
let sunnahService = new sunnah.SunnahService(process.env.MICRO_API_TOKEN);
|
||||
async function listTheChaptersInAbook() {
|
||||
let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await sunnahService.chapters({
|
||||
book: 1,
|
||||
collection: "bukhari",
|
||||
@@ -10,4 +10,4 @@ async function ListTheChaptersInAbook() {
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await ListTheChaptersInAbook();
|
||||
listTheChaptersInAbook();
|
||||
|
||||
Reference in New Issue
Block a user