MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / handleDecrement

Function handleDecrement

apps/api/src/controllers/track.controller.ts:328–333  ·  view source on GitHub ↗
(
  payload: IDecrementPayload,
  context: TrackContext
)

Source from the content-addressed store, hash-verified

326}
327
328async function handleDecrement(
329 payload: IDecrementPayload,
330 context: TrackContext
331): Promise<void> {
332 await adjustProfileProperty(payload, context.projectId, -1);
333}
334
335// Replay only needs the server-issued session id (the SDK echoes it back). Trust
336// it — scoped to the authed project, unguessable, same trust level as event data.

Callers 1

handlerFunction · 0.85

Calls 1

adjustProfilePropertyFunction · 0.85

Tested by

no test coverage detected