修改reviews.ts
This commit is contained in:
@@ -127,7 +127,7 @@ interface ScoringProposal {
|
|||||||
* @param fileId 评查文件ID
|
* @param fileId 评查文件ID
|
||||||
* @returns 评查点结果列表和统计数据
|
* @returns 评查点结果列表和统计数据
|
||||||
*/
|
*/
|
||||||
export async function getReviewPoints(fileId: string) {
|
export async function getReviewPoints(fileId: string, userId: string) {
|
||||||
// 首先先获取这个文档的数据
|
// 首先先获取这个文档的数据
|
||||||
const documentData = await getDocument(fileId);
|
const documentData = await getDocument(fileId);
|
||||||
if (documentData.error) {
|
if (documentData.error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user