revert the shit i did when i started the other way around

This commit is contained in:
counterweight 2025-03-05 16:13:39 +01:00
parent 966d951490
commit 54cb13d1e5
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 31 additions and 39 deletions

View file

@ -1,7 +1,4 @@
const profileServiceProvider = require('../services/profileService');
const ContactDetailsSet = require('../models/ContactDetailsSet');
const NymSet = require('../models/NymSet');
const profileService = profileServiceProvider(ContactDetailsSet, NymSet);
const profileService = require('../services/profileService');
async function redirectIfMissingProfileDetailsMiddleware(req, res, next) {
const publicKey = req.cookies.publicKey;