1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

generate doc tags (#7182)

* generate doc tags

* update

---------

Co-authored-by: zheng.shen <zheng.shen@seafile.com>
This commit is contained in:
shenzheng-1
2024-12-13 10:16:52 +08:00
committed by GitHub
parent d7f11265ad
commit 977aa7971e
8 changed files with 56 additions and 42 deletions

View File

@@ -230,9 +230,9 @@ class Context {
return this.metadataAPI.imageCaption(repoID, filePath, lang);
};
imageTags = (filePath) => {
generateFileTags = (filePath) => {
const repoID = this.settings['repoID'];
return this.metadataAPI.imageTags(repoID, filePath);
return this.metadataAPI.generateFileTags(repoID, filePath);
};
extractFileDetails = (objIds) => {