More activity stuff
Some checks failed
/ docker (push) Failing after 2m51s

This commit is contained in:
Melody Becker 2025-05-05 17:33:34 +02:00
parent 12c9e17c4b
commit dff031397e
14 changed files with 710 additions and 253 deletions

View file

@ -58,9 +58,9 @@ func activityCreate(w http.ResponseWriter, r *http.Request) {
// getting the final result
func createFromStorage(ctx context.Context, id string) (*activityCreateOut, error) {
// log := log.Ctx(ctx)
asa := dbgen.ActivitystreamsActivity
activity, err := asa.Where(asa.Type.Eq(string(models.ActivityCreate))).
Where(asa.Id.Eq(id)).
a := dbgen.Activity
activity, err := a.Where(a.Type.Eq(string(models.ActivityCreate))).
Where(a.Id.Eq(id)).
First()
if err != nil {
return nil, err