q-koa 8.1.5 → 8.1.6
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.
|
@@ -320,7 +320,7 @@ module.exports = class Singleton {
|
|
|
320
320
|
if (result.errcode) {
|
|
321
321
|
if (result.errcode === 40001) {
|
|
322
322
|
cache.reset()
|
|
323
|
-
return await this.
|
|
323
|
+
return await this.createUrlLink(options)
|
|
324
324
|
}
|
|
325
325
|
throw new Error(`${result.errcode};${result.errmsg}`)
|
|
326
326
|
}
|
|
@@ -348,7 +348,7 @@ module.exports = class Singleton {
|
|
|
348
348
|
if (result.errcode) {
|
|
349
349
|
if (result.errcode === 40001) {
|
|
350
350
|
cache.reset()
|
|
351
|
-
return await this.
|
|
351
|
+
return await this.createUrlscheme(options)
|
|
352
352
|
}
|
|
353
353
|
throw new Error(`${result.errcode};${result.errmsg}`)
|
|
354
354
|
}
|