Skip to content

Commit

Permalink
refactore create did endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin275 committed Oct 25, 2024
1 parent cefc0dd commit a360d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/did_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function generateDid(
}
const serviceData = req.body.services[0];
const processedService = processServiceData(serviceData);
const { mnemonic, delegateKeys, document } = await createDid(authorIdentity,processedService);
const { mnemonic, delegateKeys, document } = await createDid(authorIdentity, processedService);

return res.status(200).json({ mnemonic, delegateKeys, document });
} catch (error) {
Expand Down

0 comments on commit a360d58

Please sign in to comment.