Skip to content
Snippets Groups Projects
Commit 5270df05 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1523 OZG-2525 Kommentare: createdByName durch createdBy ersetzten

parent 84ae6dda
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"createdAt": { "createdAt": {
"$date": "2021-03-17T08:43:52.741Z" "$date": "2021-03-17T08:43:52.741Z"
}, },
"createdBy": "", "createdBy": "Karl Kommentar",
"createdByName": "Karl Kommentar",
"text": "Test text to test the test text test" "text": "Test text to test the test text test"
} }
\ No newline at end of file
...@@ -3,6 +3,5 @@ import { DateE2E } from './util'; ...@@ -3,6 +3,5 @@ import { DateE2E } from './util';
export class KommentarE2E { export class KommentarE2E {
createdAt: DateE2E; createdAt: DateE2E;
createdBy: string; createdBy: string;
createdByName: string;
text: string; text: string;
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ import { ListResource } from '@goofy-client/tech-shared'; ...@@ -3,7 +3,7 @@ import { ListResource } from '@goofy-client/tech-shared';
import { Resource } from '@ngxp/rest'; import { Resource } from '@ngxp/rest';
export interface Kommentar { export interface Kommentar {
createdByName: string; createdBy: string;
createdAt: Date; createdAt: Date;
text: string; text: string;
} }
......
...@@ -8,7 +8,7 @@ export function createKommentar(): Kommentar { ...@@ -8,7 +8,7 @@ export function createKommentar(): Kommentar {
return { return {
text: faker.random.words(10), text: faker.random.words(10),
createdAt: faker.date.past(), createdAt: faker.date.past(),
createdByName: faker.random.words(2) createdBy: faker.random.words(2)
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment