invites
This commit is contained in:
parent
69290f4c7a
commit
15217dc77a
3 changed files with 131 additions and 107 deletions
|
|
@ -1,4 +1,8 @@
|
|||
const invitesService = require('../services/invitesService');
|
||||
const nostrService = require('../services/nostrService');
|
||||
const InvitesServiceProvider = require('../services/invitesService');
|
||||
const invitesService = new InvitesServiceProvider({
|
||||
nostrService,
|
||||
}).provide();
|
||||
|
||||
module.exports = async function createAppInvite(inviterNpub) {
|
||||
const appInvite = await invitesService.createAppInvite(inviterNpub);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue