changed from json projects to m:n

This commit is contained in:
2022-02-14 22:19:44 +01:00
parent e69073ecad
commit 66f9df86d8
6 changed files with 117 additions and 43 deletions

View File

@@ -55,5 +55,7 @@ func (s *Service) Get(ctx context.Context, userId int) ([]*Project, error) {
return nil, err
}
return entry.([]*Project), nil
projects := entry.([]*Project)
return projects, nil
}