mirror of
https://github.com/certd/certd.git
synced 2026-07-09 22:47:38 +08:00
chore:
This commit is contained in:
@@ -14,7 +14,7 @@ export class DnsProviderController extends BaseController {
|
||||
|
||||
@Post('/list', { summary: Constants.per.authOnly })
|
||||
async list(@Query(ALL) query: any) {
|
||||
query.userId = this.ctx.user.id;
|
||||
query.userId = this.getUserId();
|
||||
const list = this.service.getList();
|
||||
return this.ok(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user