|
|
@ -8,11 +8,7 @@ import type { AuditRowUpdateReqType, CommentUpdateReqType } from 'nocodb-sdk'; |
|
|
|
|
|
|
|
|
|
|
|
@Injectable() |
|
|
|
@Injectable() |
|
|
|
export class AuditsService { |
|
|
|
export class AuditsService { |
|
|
|
async commentRow(param: { |
|
|
|
async commentRow(param: { body: AuditRowUpdateReqType; user: any }) { |
|
|
|
rowId: string; |
|
|
|
|
|
|
|
body: AuditRowUpdateReqType; |
|
|
|
|
|
|
|
user: any; |
|
|
|
|
|
|
|
}) { |
|
|
|
|
|
|
|
validatePayload('swagger.json#/components/schemas/CommentReq', param.body); |
|
|
|
validatePayload('swagger.json#/components/schemas/CommentReq', param.body); |
|
|
|
|
|
|
|
|
|
|
|
return await Audit.insert({ |
|
|
|
return await Audit.insert({ |
|
|
|