File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33
44from fastapi import APIRouter , Depends
55from pydantic import BaseModel
6- from sqlmodel import Session , select
6+ from sqlmodel import select
77
88from murfey .server .api .auth import (
99 MurfeySessionIDFrontend as MurfeySessionID ,
1515)
1616from murfey .server .murfey_db import murfey_db
1717from murfey .util .config import get_machine_config
18+ from murfey .util .db import Session
1819
1920logger = getLogger ("murfey.server.api.file_io_frontend" )
2021
@@ -54,5 +55,5 @@ async def create_symlink(
5455 symlink_full_path .unlink ()
5556 if symlink_full_path .exists ():
5657 return ""
57- symlink_full_path .symlink_to (symlink_params .target )
58+ symlink_full_path .symlink_to (machine_config . rsync_basepath / symlink_params .target )
5859 return str (symlink_params .symlink )
You can’t perform that action at this time.
0 commit comments