aboutsummaryrefslogtreecommitdiff
path: root/src/fields/ImageField.ts
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-02-13 20:17:21 -0500
committeryipstanley <stanley_yip@brown.edu>2019-02-13 20:17:21 -0500
commitf3544f004a696e4682fbd8d1f18ac69beec59439 (patch)
tree0839c355fe813ba494c6451b9017c5e325e1cfb8 /src/fields/ImageField.ts
parent430878f6dd8d36b1322e15d0898ada0d44fecacb (diff)
asdfkj
Diffstat (limited to 'src/fields/ImageField.ts')
-rw-r--r--src/fields/ImageField.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/ImageField.ts b/src/fields/ImageField.ts
index 30fe0970b..12503b2ec 100644
--- a/src/fields/ImageField.ts
+++ b/src/fields/ImageField.ts
@@ -20,11 +20,11 @@ export class ImageField extends BasicField<URL> {
return new ImageField(this.Data);
}
- ToJson(): { type: Types, data: URL, _id: ObjectID } {
+ ToJson(): { type: Types, data: URL, _id: string } {
return {
type: Types.Image,
data: this.Data,
- _id: new ObjectID(this.Id)
+ _id: this.Id
}
}
} \ No newline at end of file