From 188e486bc01672fa1fe1906caa6252de13a5bd1b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 8 Mar 2023 10:23:22 +0100 Subject: [PATCH] fix(docs): Fix URL to docs of deprecated function humanFileSize Signed-off-by: Joas Schilling --- core/src/OC/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/OC/util.js b/core/src/OC/util.js index e1a2f8f0687..27485115f8d 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -64,7 +64,7 @@ export default { History, /** - * @deprecated use https://nextcloud.github.io/nextcloud-files/modules/_humanfilesize_.html#formatfilesize + * @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html */ humanFileSize, @@ -73,7 +73,7 @@ export default { * Makes 2kB to 2048. * Inspired by computerFileSize in helper.php * - * @param {string} string file size in human readable format + * @param {string} string file size in human-readable format * @return {number} or null if string could not be parsed * * -- 2.39.5