MCPcopy Create free account
hub / github.com/F12FLASH/CTF / updateHints

Method updateHints

12.The Undefined/server/storage.ts:103–107  ·  view source on GitHub ↗
(sessionId: string, hints: Hint[])

Source from the content-addressed store, hash-verified

101 }
102
103 async updateHints(sessionId: string, hints: Hint[]): Promise<Hint[]> {
104 const session = this.getOrCreateSession(sessionId);
105 session.hints = hints.map(h => ({ ...h }));
106 return session.hints;
107 }
108}
109
110export const storage = new MemStorage();

Callers

nothing calls this directly

Calls 1

getOrCreateSessionMethod · 0.95

Tested by

no test coverage detected