添加 rating
This commit is contained in:
1 parent
16fb09021d
commit
9eb18fedd4
8 files changed
+112
-109
No files matched your search
+2
-1
@@ -133,6 +133,7 @@ export const Submission = {
|
||||
},
|
||||
|
||||
async updateScore(id: string, score: number) {
|
||||
await http.put(`/submission/${id}/score`, { score })
|
||||
const res = await http.put(`/submission/${id}/score`, { score })
|
||||
return res.data
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user