diff --git a/clients/go/qr/qr.go b/clients/go/qr/qr.go index 22f2dec..90d3136 100755 --- a/clients/go/qr/qr.go +++ b/clients/go/qr/qr.go @@ -16,7 +16,7 @@ type QrService struct { client *client.Client } -// +// Generate a QR code with a specific text and size func (t *QrService) Generate(request *GenerateRequest) (*GenerateResponse, error) { rsp := &GenerateResponse{} return rsp, t.client.Call("qr", "Generate", request, rsp) diff --git a/clients/ts/package.json b/clients/ts/package.json index 3480300..475c900 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -58,5 +58,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.517" + "version": "1.0.518" } \ No newline at end of file diff --git a/clients/ts/qr/index.ts b/clients/ts/qr/index.ts index 80380e1..39dcff2 100755 --- a/clients/ts/qr/index.ts +++ b/clients/ts/qr/index.ts @@ -6,7 +6,7 @@ export class QrService { constructor(token: string) { this.client = new m3o.Client({ token: token }); } - // + // Generate a QR code with a specific text and size generate(request: GenerateRequest): Promise { return this.client.call( "qr", diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts index 77f59a9..f903ecc 100755 --- a/clients/ts/quran/index.ts +++ b/clients/ts/quran/index.ts @@ -149,7 +149,7 @@ export interface Verse { // The unique id of the verse in the whole book id?: number; // The interpretations of the verse - interpretations?: Translation[]; + interpretations?: Interpretation[]; // The key of this verse (chapter:verse) e.g 1:1 key?: string; // The verse number in this chapter diff --git a/examples/db/update/go/updateARecord.go b/examples/db/update/go/updateARecord.go index 4c7b7e9..d1cad90 100755 --- a/examples/db/update/go/updateARecord.go +++ b/examples/db/update/go/updateARecord.go @@ -11,8 +11,8 @@ func UpdateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Update(&db.UpdateRequest{ Record: map[string]interface{}{ - "age": 43, "id": "1", + "age": 43, }, Table: "users", }) diff --git a/examples/qr/generate/go/generateAQrCode.go b/examples/qr/generate/go/generateAQrCode.go index 732fc5d..0c9a16e 100755 --- a/examples/qr/generate/go/generateAQrCode.go +++ b/examples/qr/generate/go/generateAQrCode.go @@ -6,7 +6,7 @@ import ( "os" ) -// +// Generate a QR code with a specific text and size func GenerateAqrCode() { qrService := qr.NewQrService(os.Getenv("MICRO_API_TOKEN")) rsp, err := qrService.Generate(&qr.GenerateRequest{ diff --git a/examples/qr/generate/node/generateAQrCode.js b/examples/qr/generate/node/generateAQrCode.js index d211208..7960bd0 100755 --- a/examples/qr/generate/node/generateAQrCode.js +++ b/examples/qr/generate/node/generateAQrCode.js @@ -1,6 +1,6 @@ import * as qr from "m3o/qr"; -// +// Generate a QR code with a specific text and size async function GenerateAqrCode() { let qrService = new qr.QrService(process.env.MICRO_API_TOKEN); let rsp = await qrService.generate({