From b4917eb922a0960f96d9555ed6d61def61320d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Killian=C2=B4Dal-Cin?= Date: Thu, 27 Jan 2022 10:35:27 +0100 Subject: [PATCH] Fix types --- README.MD | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.MD b/README.MD index 66d4235..015475b 100644 --- a/README.MD +++ b/README.MD @@ -53,24 +53,24 @@ Returns | Key | Type | Description | | :-------- | :------- | :------------------------- | -| `urlId` | `String` | The URL ID | -| `origUrl` | `String` | The original URL | -| `shortUrl` | `String` | The shortened URL | -| `clicks` | `Number` | The amount of time this link has been clicked | -| `date` | `Date` | The creation date of this link | -| `_id` | `String` | The databse id of this link | -| `__v` | `Number` | The version number | +| `urlId` | `string` | The URL ID | +| `origUrl` | `string` | The original URL | +| `shortUrl` | `string` | The shortened URL | +| `clicks` | `number` | The amount of time this link has been clicked | +| `date` | `date` | The creation date of this link | +| `_id` | `string` | The databse id of this link | +| `__v` | `number` | The version number | ```json { - "urlId": String, - "origUrl": String, - "shortUrl": String, - "clicks": Number, - "date": Date, - "_id": String, - "__v": Number + "urlId": string, + "origUrl": string, + "shortUrl": string, + "clicks": number, + "date": date, + "_id": string, + "__v": number } ```