Skip to content

Commit

Permalink
chore: updated name of rwa document
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Feb 9, 2024
1 parent 3089d08 commit 2950846
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/src/modules/real-world-assets/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export const RealWorldAssetsState = objectType({
});

export const RealWorldAssetsDocument = objectType({
name: 'RWAPortfolio',
name: 'RealWorldAssets',
definition(t) {
t.implements(documentModelInterface);
t.nonNull.field('state', { type: RealWorldAssetsState });
Expand All @@ -250,7 +250,6 @@ export const rwaQuery = queryField('rwaPortfolio', {
},
resolve: async (_root, { id }, ctx) => {
const doc = await ctx.prisma.document.getDocument(ctx.driveId, id);

return doc;
},
});

0 comments on commit 2950846

Please sign in to comment.