Skip to content

Commit

Permalink
Cleanup for email scripts (#3528)
Browse files Browse the repository at this point in the history
* Remove unused script

* Fix incorrect tracing span name (copy/paste error?)
  • Loading branch information
TylerHendrickson authored Sep 23, 2024
1 parent ec13ac4 commit 743494b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions packages/server/src/scripts/sendGrantDigest.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion packages/server/src/scripts/sendGrantDigestEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports.main = async function main() {
return;
}

await tracer.trace('arpaTreasuryReport', async () => {
await tracer.trace('sendGrantDigestEmail', async () => {
if (process.env.ENABLE_SAVED_SEARCH_GRANTS_DIGEST === 'true') {
log.info('Sending saved search grant digest emails');
await email.buildAndSendGrantDigestEmails();
Expand Down

0 comments on commit 743494b

Please sign in to comment.