Skip to content

Commit 0beedd0

Browse files
authored
DEV: Use BasicGroupSerializer for groups (#75)
1 parent 784e9e7 commit 0beedd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/discourse_teambuild/targets_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def index
1818
rest_serializer: true,
1919
root: "teambuild_targets",
2020
extras: {
21-
groups: Group.all,
21+
groups: serialize_data(Group.all, BasicGroupSerializer),
2222
},
2323
)
2424
end

0 commit comments

Comments
 (0)