update for frontend

This commit is contained in:
Elmar Kresse
2023-09-10 10:39:00 +02:00
parent 991d069931
commit eeb84db0cc
6 changed files with 114 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ func FeedURL(c echo.Context, app *pocketbase.PocketBase, course string, semester
if err != nil {
return err
}
return c.JSON(http.StatusOK, fmt.Sprintf("FeedToken: %s", token))
return c.JSON(http.StatusOK, fmt.Sprintf("FeedToken: %s, Course: %s, Semester: %s", token, course, semester))
}
func Feed(c echo.Context, app *pocketbase.PocketBase, token string) error {