Add command and query for organizations
* Added command and query for organizations * Saving unknown organizations into database in `background` service * Added `List` method in `OrganizationRepository`
This commit is contained in:
@ -61,6 +61,7 @@ func setupCLI(ctx context.Context) cli.App {
|
||||
case "courses":
|
||||
out = state.Props.InitialReduxState.Dictionaries.Data.CourseThematics
|
||||
}
|
||||
|
||||
log.InfoContext(ctx, "loaded state", slog.Any("state", out))
|
||||
|
||||
return 0
|
||||
|
||||
@ -44,7 +44,6 @@ func setupAPICommand(ctx context.Context) cli.Command {
|
||||
WithOption(learningSelectionOpt).
|
||||
WithAction(newProductsFilterCountAction(ctx))
|
||||
})
|
||||
|
||||
apiEducation := cli.NewCommand("education", "Education related category").
|
||||
WithCommand(apiEducationListProducts).
|
||||
WithCommand(apiEducationFilterCount)
|
||||
|
||||
Reference in New Issue
Block a user