core: remove lib.logger

This commit is contained in:
undefined committed 2020-09-27 13:20:17 +08:00
1 parent 441515297a
commit a58c36961f
6 files changed
+5 -47

No files matched your search

-1
View File
@@ -418,7 +418,6 @@ export class ProblemEditHandler extends ProblemManageHandler {
@param('content', Types.String, isContent)
async post(domainId: string, title: string, content: string) {
const $update: Partial<Pdoc> = { title, content };
console.log(this.request.body);
if (this.request.body.pid) $update.pid = checkPid(this.request.body.pid);
const pdoc = await problem.get(domainId, this.request.params.pid);
await problem.edit(domainId, pdoc.docId, $update);