MCPcopy Create free account
hub / github.com/thinkjs/thinkjs / success

Function success

lib/extend/controller.js:131–133  ·  view source on GitHub ↗

* send success data

(data, message)

Source from the content-addressed store, hash-verified

129 * send success data
130 */
131 success(data, message) {
132 return this.ctx.success(data, message);
133 },
134 /**
135 * send fail data
136 */

Callers

nothing calls this directly

Calls 1

successMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…