chore: pre-commit

This commit is contained in:
Safwan Samsudeen 2025-08-25 13:23:32 +05:30
parent 6131aa63fd
commit 03bff35b5e
3 changed files with 850 additions and 886 deletions

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@ import FileUploaderComponent from "./FileUploader.vue";
import { watch } from "vue";
class FileUploader {
static UploadOptions = []
static UploadOptions = [];
constructor({
wrapper,
method,

View file

@ -417,7 +417,7 @@ def add_attachments(doctype, name, attachments):
def is_safe_path(path: str) -> bool:
if path.startswith(("http://", "https://", "/api/method/")):
if path.startswith(("http://", "https://", "/api/method/")):
return True
basedir = frappe.get_site_path()