q-koa 8.5.4 → 8.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -404,7 +404,6 @@ module.exports = class Singleton {
|
|
|
404
404
|
.join('&')
|
|
405
405
|
: '',
|
|
406
406
|
}
|
|
407
|
-
const creatuuid = uuid.v1()
|
|
408
407
|
|
|
409
408
|
const bufferResult = await axios
|
|
410
409
|
.post(url, payLoad, {
|
|
@@ -419,7 +418,7 @@ module.exports = class Singleton {
|
|
|
419
418
|
if (bufferResult.errcode) {
|
|
420
419
|
if (bufferResult.errcode === 40001) {
|
|
421
420
|
cache.reset()
|
|
422
|
-
return await this.
|
|
421
|
+
return await this.createQRBuffer(options)
|
|
423
422
|
}
|
|
424
423
|
throw new Error(bufferResult.errmsg)
|
|
425
424
|
}
|