| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1213,6 +1213,12 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager): | |||
| 1213 | 1213 | 'milestone_id')) | |
| 1214 | 1214 | _list_filters = ('iids', 'state', 'order_by', 'sort') | |
| 1215 | 1215 | ||
| 1216 | + def _sanitize_data(self, data, action): | ||
| 1217 | + new_data = data.copy() | ||
| 1218 | + if 'labels' in data: | ||
| 1219 | + new_data['labels'] = ','.join(data['labels']) | ||
| 1220 | + return new_data | ||
| 1221 | + | ||
| 1216 | 1222 | ||
| 1217 | 1223 | class ProjectMilestone(SaveMixin, ObjectDeleteMixin, RESTObject): | |
| 1218 | 1224 | _short_print_attr = 'title' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments