chat implemented
This commit is contained in:
-2
@@ -1,6 +1,5 @@
|
||||
using Application.Services.Database;
|
||||
using Application.Services.Database.MongoDB;
|
||||
using Core.Entities;
|
||||
|
||||
namespace Application.Endpoints.MedicalHistories.ManageAuthorization;
|
||||
|
||||
@@ -113,7 +112,6 @@ public class MedicalHistoryManageAuthorizationHandler
|
||||
}
|
||||
|
||||
var authorisations = documents[0].Authorisation;
|
||||
Console.WriteLine(authorisations);
|
||||
if (!authorisations.Contains(infoDto.DoctorId.ToString()))
|
||||
{
|
||||
return new BaseResponse()
|
||||
|
||||
Reference in New Issue
Block a user