mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 17:48:51 +02:00
fix:#44 returned gone for unavailable feeds
This commit is contained in:
@ -21,7 +21,7 @@ func AddFeedRoutes(app model.AppType) {
|
||||
|
||||
if err != nil {
|
||||
slog.Error("Failed to get feed", "error", err, "token", token)
|
||||
return c.SendStatus(fiber.StatusBadRequest)
|
||||
return c.SendStatus(fiber.StatusGone)
|
||||
}
|
||||
c.Response().Header.Set("Content-type", "text/calendar")
|
||||
c.Response().Header.Set("charset", "utf-8")
|
||||
|
Reference in New Issue
Block a user