MCPcopy
hub / github.com/Peppermint-Lab/peppermint / getUserTickets

Function getUserTickets

apps/client/pages/issues/open.tsx:36–43  ·  view source on GitHub ↗
(token: any)

Source from the content-addressed store, hash-verified

34import { useUser } from "../../store/session";
35
36async function getUserTickets(token: any) {
37 const res = await fetch(`/api/v1/tickets/user/open`, {
38 headers: {
39 Authorization: `Bearer ${token}`,
40 },
41 });
42 return res.json();
43}
44
45const FilterBadge = ({
46 text,

Callers 1

TicketsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected