tencentyun/wafer2-node-sdk

koa2 使用uploader报错

Closed this issue · 2 comments

  async uploadImage(ctx){
      let result = await wafer.uploader(ctx.req)
      ctx.state.data = result.uploadFolder+result.name
  }

0|index    | warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").
0|index    | (node:7948) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

文件可以正常上传,但会报两个错误

应该都是和cos-nodejs-sdk-v5有关的 怎么才能去掉这两个错误呢?

这个不是错误,是warning。可能得通知他们修复。。。