mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
Get OrgId only from token
This commit is contained in:
@@ -6,7 +6,6 @@ namespace WebApp.DTOs;
|
||||
// Input values in JSON file to create event
|
||||
public record class EventCreateDto
|
||||
(
|
||||
[Required] int? OrganisationId,
|
||||
[Required][StringLength(50)] string Title,
|
||||
[StringLength(500)] string Description,
|
||||
[Required][StringLength(100)] string Location,
|
||||
|
||||
@@ -6,7 +6,6 @@ namespace WebApp.DTOs;
|
||||
// Input values in JSON file to update event
|
||||
public record class EventUpdateDto
|
||||
(
|
||||
[Required] int? OrganisationId,
|
||||
[Required][StringLength(50)] string Title,
|
||||
[StringLength(500)] string Description,
|
||||
[Required][StringLength(100)] string Location,
|
||||
|
||||
Reference in New Issue
Block a user