1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-15 14:48:40 +00:00

Return error message when query share link info (#698)

* Return rsp content when query share link info

* Add parse error message

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2024-09-13 18:33:41 +08:00
committed by GitHub
parent c80bf17efb
commit f27ab0847b
5 changed files with 88 additions and 26 deletions

View File

@@ -50,7 +50,8 @@ char *
http_tx_manager_get_nickname (const char *modifier);
SeafileShareLinkInfo *
http_tx_manager_query_share_link_info (const char *token, const char *cookie, const char *type);
http_tx_manager_query_share_link_info (const char *token, const char *cookie, const char *type,
int *status, char **err_msg);
int
http_tx_manager_check_file_access (const char *repo_id, const char *token, const char *cookie,