Skip to content

Commit

Permalink
Merge branch 'master' into SWAP-3745-scicat-be-make-oidc-user-validat…
Browse files Browse the repository at this point in the history
…ion-process-confi
  • Loading branch information
Junjiequan authored Feb 28, 2024
2 parents 2f52cf7 + 334b707 commit 24cf7a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/common/schemas/queryable.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class QueryableClass {
@ApiProperty({
type: Date,
description:
"Date and time when this record was created. This property is added and maintained by mongoose.",
"Date and time when this record was created. This field is managed by mongoose with through the timestamp settings. The field should be a string containing a date in ISO 8601 format (2024-02-27T12:26:57.313Z)",
})
@Prop({
type: Date,
Expand All @@ -42,7 +42,7 @@ export class QueryableClass {
@ApiProperty({
type: Date,
description:
"Date and time when this record was updated last. This property is added and maintained by mongoose.",
"Date and time when this record was updated last. This field is managed by mongoose with through the timestamp settings. The field should be a string containing a date in ISO 8601 format (2024-02-27T12:26:57.313Z)",
})
@Prop({
type: Date,
Expand Down
3 changes: 2 additions & 1 deletion src/datasets/schemas/history.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export class HistoryClass {
type: Date,
required: true,
default: Date.now(),
description: "Time when the update was performed.",
description:
"Time when the update was performed. This field is managed by mongoose with through the timestamp settings. The field should be a string containing a date in ISO 8601 format (2024-02-27T12:26:57.313Z)",
})
@Prop({
type: Date,
Expand Down

0 comments on commit 24cf7a3

Please sign in to comment.