Amend examples (#211)

This commit is contained in:
Janos Dobronszki
2021-09-21 16:36:39 +01:00
committed by GitHub
parent 80a253ada5
commit ba6220fd01
61 changed files with 920 additions and 918 deletions

View File

@@ -1,14 +0,0 @@
import * as sunnah from "m3o/sunnah";
// Hadiths returns a list of hadiths and their corresponding text for a
// given book within a collection.
async function ListTheHadithsInAbook() {
let sunnahService = new sunnah.SunnahService(process.env.MICRO_API_TOKEN);
let rsp = await sunnahService.hadiths({
book: 1,
collection: "bukhari",
});
console.log(rsp);
}
await ListTheHadithsInAbook();