remove repeated folder

This commit is contained in:
spaced4ndy 2024-01-05 15:20:11 +04:00
parent 363856b0ff
commit 7c13b48898

View File

@ -6151,7 +6151,7 @@ getCreateActiveUser st testView = do
loop
Left e -> putStrLn ("database error " <> show e) >> exitFailure
Right user -> do
void . withTransaction st $ \db -> runExceptT $ createNoteFolder db user >> createNoteFolder db user
void . withTransaction st $ \db -> runExceptT $ createNoteFolder db user
pure user
selectUser :: [User] -> IO User
selectUser [user@User {userId}] = do