onebots 0.0.11 → 0.0.12

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.
package/lib/server/app.js CHANGED
@@ -170,7 +170,7 @@ class App extends koa_1.default {
170
170
  ctx.body = e.message;
171
171
  }
172
172
  });
173
- this.router.get('/edit', (ctx, next) => {
173
+ this.router.post('/edit', (ctx, next) => {
174
174
  const { uin, ...config } = ctx.request.body;
175
175
  try {
176
176
  this.updateAccount(Number(uin), config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "onebots",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "基于oicq的多例oneBot实现",
5
5
  "main": "lib/index.js",
6
6
  "bin": {