From 3a0f0c4d6780e1d753b767e219342d032d89fbab Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Thu, 3 Sep 2020 21:43:44 +0530 Subject: [PATCH] :bug: Change profilePicture to Url suffix --- src/controllers/groups/_id/index.ts | 2 +- src/controllers/users/_id/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/groups/_id/index.ts b/src/controllers/groups/_id/index.ts index 531807d50..8b8f668c0 100644 --- a/src/controllers/groups/_id/index.ts +++ b/src/controllers/groups/_id/index.ts @@ -37,7 +37,7 @@ export class GroupController { autoJoinDomain: Joi.boolean(), onlyAllowDomain: Joi.boolean(), ipRestrictions: Joi.string(), - profilePicture: Joi.string(), + profilePictureUrl: Joi.string(), }, "body" ) diff --git a/src/controllers/users/_id/index.ts b/src/controllers/users/_id/index.ts index 30468b172..d888ba177 100644 --- a/src/controllers/users/_id/index.ts +++ b/src/controllers/users/_id/index.ts @@ -51,7 +51,7 @@ export class UserController { prefersColorScheme: Joi.string() .allow("NO_PREFERENCE", "LIGHT", "DARK") .only(), - profilePicture: Joi.string(), + profilePictureUrl: Joi.string(), checkLocationOnLogin: Joi.boolean(), }, "body"