mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
fix: detail editor (#6566)
* fix: detail editor * feat: update code --------- Co-authored-by: 杨国璇 <ygx@192.168.1.4>
This commit is contained in:
@@ -80,9 +80,9 @@ class MetadataManagerAPI {
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
||||
modifyRecord = (repoID, recordID, update) => {
|
||||
modifyRecord = (repoID, recordID, update, objID) => {
|
||||
const url = this.server + '/api/v2.1/repos/' + repoID + '/metadata/records/';
|
||||
const data = { records_data: [{ record_id: recordID, record: update }] };
|
||||
const data = { records_data: [{ record_id: recordID, record: update, obj_id: objID }] };
|
||||
return this.req.put(url, data);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user