Skip to content

Commit

Permalink
refactor: déplace le script outil d'envoi d'email
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Nov 16, 2023
1 parent 5c0c9bd commit 25dce92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/lib/messaging/email/email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

cd `dirname $0`

node ../../../../dist-server/backend/lib/messaging/email/email-sending-tool.js send initial-survey --multiple 1000
node ../../../../dist-server/tools/email-sending-tool.js send initial-survey --multiple 1000
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ArgumentParser } from "argparse"
import config from "../../../config/index.js"
import { EmailCategory } from "../../../../lib/enums/messaging.js"
import config from "../backend/config/index.js"
import { EmailCategory } from "../lib/enums/messaging.js"
import mongoose from "mongoose"
import mongooseConfig from "../../../config/mongoose.js"
import { processSendEmails } from "../sending.js"
import mongooseConfig from "../backend/config/mongoose.js"
import { processSendEmails } from "../backend/lib/messaging/sending.js"

mongooseConfig(mongoose, config)

Expand Down

0 comments on commit 25dce92

Please sign in to comment.