diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d2ed4b49..1b4c1a81 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,6 +31,6 @@ jobs: - run: bash server/api/installBuf.bash - name: pre-commit uses: pre-commit/action@v3.0.0 - - uses: ls-lint/action@v2.0.1 + - uses: ls-lint/action@v2.2.2 with: config: .ls-lint.yaml diff --git a/server/backend/cron/file_download.go b/server/backend/cron/file_download.go index ba8d9e3d..2a051666 100644 --- a/server/backend/cron/file_download.go +++ b/server/backend/cron/file_download.go @@ -2,13 +2,14 @@ package cron import ( "errors" - "github.com/guregu/null" "io" "net/http" "os" "path" "strings" + "github.com/guregu/null" + "github.com/TUM-Dev/Campus-Backend/server/model" "github.com/disintegration/imaging" "github.com/gabriel-vasile/mimetype"