How to use the wseid function from koa-body

Find comprehensive JavaScript koa-body.wseid code examples handpicked from public code repositorys.

133
134
135
136
137
138
139
140
141
142
143
  ctx.body = { data };
});


router.post("/api/WSCKDelaccount", body(), async (ctx) => {
  const body = ctx.request.body;
  const wseid = body.wseid;
  const user = new User({ wseid });
  const data = await user.delWSCKUserByEid();
  ctx.body = { data };
});
fork icon3
star icon4
watch icon0

+ 3 other calls in file