feat(boss): Chief of Staff Boss + spun-crow registry with cap (#42)
This commit is contained in:
1 parent
ccb0e503c5
commit
663c8a19d8
10 files changed
+329
-20
No files matched your search
+1
-1
@@ -82,7 +82,7 @@ export type Persona = { name: string; epithet: string; strength: string; backsto
|
||||
export async function getCrows(): Promise<Map<string, Persona>> {
|
||||
const out = new Map<string, Persona>();
|
||||
try {
|
||||
const res = await fetch("/api/crows");
|
||||
const res = await fetch("/api/personas");
|
||||
if (res.ok) for (const p of await res.json()) out.set(String(p.name), { name: String(p.name), epithet: String(p.epithet), strength: String(p.strength), backstory: String(p.backstory) });
|
||||
} catch {
|
||||
// No personas: tiles show names only.
|
||||
|
||||
Reference in new issue
Block a user