diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 14d70519..b08a644c 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest services: postgres: - image: postgres:15 + image: pgvector:16 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: password diff --git a/backend/config/settings.go b/backend/config/settings.go index a33897e7..c00593ff 100644 --- a/backend/config/settings.go +++ b/backend/config/settings.go @@ -34,7 +34,7 @@ type intermediateSettings struct { Google intermediateGoogleOAuthSettings `envPrefix:"SAC_GOOGLE_OAUTH_"` MicrosoftWeb intermediateMicrosoftWebOAuthSettings `envPrefix:"SAC_MICROSOFT_OAUTH_WEB_"` MicrosoftMobile intermediateMicrosoftMobileOAuthSettings `envPrefix:"SAC_MICROSOFT_OAUTH_MOBILE_"` - Search SearchSettings `envPrefix:"SAC_SEARCH_"` + Search intermediateSearchSettings `envPrefix:"SAC_SEARCH_"` } func (i *intermediateSettings) into() (*Settings, error) { @@ -117,7 +117,7 @@ func (i *intermediateSettings) into() (*Settings, error) { MicrosoftMobile: *microsoftMobile, AWS: *aws, Resend: *resend, - Search: i.Search, + Search: *search, }, }, nil } diff --git a/backend/main.go b/backend/main.go index 3e90ea61..a97f9c18 100644 --- a/backend/main.go +++ b/backend/main.go @@ -9,6 +9,7 @@ import ( "net" "os" "os/signal" + "path/filepath" "syscall" "github.com/GenerateNU/sac/backend/background" @@ -20,7 +21,6 @@ import ( "github.com/GenerateNU/sac/backend/integrations/email" "github.com/GenerateNU/sac/backend/integrations/file" "github.com/GenerateNU/sac/backend/integrations/oauth/soth/sothic" - "github.com/GenerateNU/sac/backend/search" "github.com/GenerateNU/sac/backend/server" "github.com/GenerateNU/sac/backend/telemetry" "github.com/GenerateNU/sac/backend/utilities"