bruce-models 0.5.7 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4206,9 +4206,9 @@ var Tileset;
4206
4206
  return [4 /*yield*/, api.GET("tileset/new?type=" + data.type + "&name=" + Api.Encode(data.name))];
4207
4207
  case 1:
4208
4208
  res = _a.sent();
4209
- data = __assign(__assign({}, data), res);
4209
+ data = __assign(__assign(__assign({}, res), data), { settings: __assign(__assign({}, res.settings), data.settings) });
4210
4210
  _a.label = 2;
4211
- case 2: return [4 /*yield*/, api.POST("tileset", data)];
4211
+ case 2: return [4 /*yield*/, api.POST("tileset/update/" + data.id, data)];
4212
4212
  case 3:
4213
4213
  data = _a.sent();
4214
4214
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Tileset + Api.ECacheKey.Id + data.id);