Rename fs variable

This commit is contained in:
2024-11-13 22:32:43 +01:00
parent 93963b1867
commit 6a9461d928
7 changed files with 20 additions and 20 deletions

View File

@@ -200,7 +200,7 @@ func (h *Handler) DeleteAccount() http.HandlerFunc {
// Delete workspace directories
for _, workspace := range workspaces {
if err := h.FS.DeleteUserWorkspace(ctx.UserID, workspace.ID); err != nil {
if err := h.S.DeleteUserWorkspace(ctx.UserID, workspace.ID); err != nil {
http.Error(w, "Failed to delete workspace files", http.StatusInternalServerError)
return
}