Skip to content

Commit 89c82a9

Browse files
fixed TODOs and incorrectly registered resources on EdgeDB Projects (#3177)
1 parent a300865 commit 89c82a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/project/dto/project.dto.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class TranslationProject extends Project {
194194
static readonly SecuredProps = keysOf<SecuredProps<TranslationProject>>();
195195
}
196196

197-
@RegisterResource({ db: e.TranslationProject })
197+
@RegisterResource({ db: e.MomentumTranslationProject })
198198
@ObjectType({
199199
implements: [TranslationProject],
200200
description: 'Formerly known as our TranslationProjects',
@@ -207,7 +207,7 @@ export class MomentumTranslationProject extends TranslationProject {
207207
declare readonly type: 'MomentumTranslation';
208208
}
209209

210-
@RegisterResource({ db: e.TranslationProject })
210+
@RegisterResource({ db: e.MultiplicationTranslationProject })
211211
@ObjectType({
212212
implements: [TranslationProject],
213213
})
@@ -251,7 +251,7 @@ declare module '~/core/resources/map' {
251251
Project: typeof e.default.Project;
252252
InternshipProject: typeof e.default.InternshipProject;
253253
TranslationProject: typeof e.default.TranslationProject;
254-
MomentumTranslationProject: typeof e.default.TranslationProject; // TODO
255-
MultiplicationTranslationProject: typeof e.default.TranslationProject; // TODO
254+
MomentumTranslationProject: typeof e.default.MomentumTranslationProject;
255+
MultiplicationTranslationProject: typeof e.default.MultiplicationTranslationProject;
256256
}
257257
}

0 commit comments

Comments
 (0)