MCPcopy
hub / github.com/chartbrew/chartbrew / remove

Method remove

server/controllers/ChartController.js:353–361  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

351 }
352
353 remove(id) {
354 return db.Chart.destroy({ where: { id } })
355 .then((response) => {
356 return response;
357 })
358 .catch((error) => {
359 return new Promise((resolve, reject) => reject(error));
360 });
361 }
362
363 updateChartData(id, user, {
364 noSource,

Callers 15

createUserFunction · 0.45
oneaccountAuthFunction · 0.45
deleteUserFunction · 0.45
createInvitedUserFunction · 0.45
verifyFunction · 0.45
loginFunction · 0.45
logoutFunction · 0.45
ThemeProviderFunction · 0.45
removeAuthTokenFunction · 0.45
MainFunction · 0.45
LineChartFunction · 0.45
PieChartFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected