MCPcopy Create free account
hub / github.com/gotify/server / createMessage

Function createMessage

ui/src/tests/message.test.ts:150–153  ·  view source on GitHub ↗
(msg: Partial<IMessage>, token: string)

Source from the content-addressed store, hash-verified

148 const backup3 = m('Backup done', 'Gotify Backup finished (0.1MB).');
149
150 const createMessage = (msg: Partial<IMessage>, token: string) =>
151 axios.post<IMessage>(`${gotify.url}/message`, msg, {
152 headers: {'X-Gotify-Key': token},
153 });
154
155 const expectMessages = async (toCheck: {
156 all: Msg[];

Callers 1

message.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…