nsarrazin HF Staff commited on
Commit
b526144
·
unverified ·
1 Parent(s): 3471d51

fix(tool): tool report shows name correctly on slack

Browse files
src/routes/tools/[toolId]/+page.server.ts CHANGED
@@ -88,7 +88,7 @@ export const actions: Actions = {
88
 
89
  const tool = await collections.tools.findOne<Pick<Tool, "displayName">>(
90
  { _id: new ObjectId(params.toolId) },
91
- { projection: { name: 1 } }
92
  );
93
 
94
  const username = locals.user?.username;
 
88
 
89
  const tool = await collections.tools.findOne<Pick<Tool, "displayName">>(
90
  { _id: new ObjectId(params.toolId) },
91
+ { projection: { displayName: 1 } }
92
  );
93
 
94
  const username = locals.user?.username;