Fix saveChat positional argument migration

8d279dd94ddee6aade5af6370d6815c5522c154b

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -6757,7 +6757,7 @@ export function saveChatDebounced() {
67576757 * @returns {Promise<void>}
67586758 */
67596759export async function saveChat({ chatName, withMetadata, mesId, force = false } = {}) {
67606760 if (arguments.length > 10 && typeof arguments[0] !== 'object') {
67616761 console.trace('saveChat called with positional arguments. Please use an object instead.');
67626762 [chatName, withMetadata, mesId, force] = arguments;
67636763 }