This is a pretty big refactor of how communication works to start moving us in the direction we want to go long-term. This adds the new communication row and migrates existing reports to add rows for communication. There's also a bunch of automatic fixes from the new linter. I should have added them separately, but whatever.
12 lines
361 B
Go
12 lines
361 B
Go
package platform
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
|
querypublic "github.com/Gleipnir-Technology/nidus-sync/db/query/public"
|
|
)
|
|
|
|
func CommunicationsForOrganization(ctx context.Context, org_id int64) ([]*model.Communication, error) {
|
|
return querypublic.CommunicationsFromOrganization(ctx, org_id)
|
|
}
|