Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Feb 6, 2024
1 parent 2f66d7e commit 03a7803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const createIndex = async (req, res, next) => {
const newIndex = await indexService.createIndex(req.body);

const didService = new DIDService().setSession(req.session); //Personal
const newIndexDID = await didService.addIndex(newIndex.id, "owner");
const newIndexDID = await didService.addIndex(newIndex.id, "owned");
newIndex.did = {
owned: true,
starred: false
Expand Down

0 comments on commit 03a7803

Please sign in to comment.