feat(messages): update messages to handle multiple recipients
Build and Push Docker image / build-and-push (push) Successful in 3m3s Details

This commit is contained in:
Valentin Kolb 2024-06-17 18:13:41 +02:00
parent 849499740b
commit 9826b53035
1 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,6 @@ package main
import ( import (
"git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapApi" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapApi"
"git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapSync"
"git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger"
"git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/messages" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/messages"
"git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/qrApi" "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/qrApi"
@ -24,9 +23,9 @@ func main() {
app := pocketbase.New() app := pocketbase.New()
// setup ldap sync // setup ldap sync
app.OnBeforeServe().Add(func(e *core.ServeEvent) error { //app.OnBeforeServe().Add(func(e *core.ServeEvent) error {
return ldapSync.InitLdapSync(app) // return ldapSync.InitLdapSync(app)
}) //})
// setup ldap login // setup ldap login
app.OnBeforeServe().Add(func(e *core.ServeEvent) error { app.OnBeforeServe().Add(func(e *core.ServeEvent) error {