Skip to content

Commit

Permalink
Remove tags from location
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Gonzalez committed Jan 26, 2025
1 parent ac97863 commit 9675802
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions src/services/event/event-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ export class Location {
@prop({ required: true })
public description: string;

@prop({
required: true,
type: () => String,
})
public tags: string[];

@prop({ required: true })
public latitude: number;

Expand Down Expand Up @@ -113,7 +107,6 @@ export class EventFollowers {
export const LocationSchema = z
.object({
description: z.string(),
tags: z.array(z.string()),
latitude: z.number(),
longitude: z.number(),
})
Expand Down Expand Up @@ -148,7 +141,6 @@ export const EventSchema = z
locations: [
{
description: "Siebel Center for CS",
tags: ["SIEBEL"],
latitude: 40.1138,
longitude: -88.2249,
},
Expand Down Expand Up @@ -176,7 +168,6 @@ export const CreateEventRequestSchema = EventSchema.omit({ eventId: true }).open
locations: [
{
description: "Siebel Center for CS",
tags: ["SIEBEL"],
latitude: 40.1138,
longitude: -88.2249,
},
Expand Down
1 change: 0 additions & 1 deletion src/services/staff/staff-router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const TEST_EVENT = {
locations: [
{
description: "Siebel ",
tags: [],
latitude: 40.113812,
longitude: -88.224937,
},
Expand Down
1 change: 0 additions & 1 deletion src/services/user/user-router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const TEST_EVENT = {
locations: [
{
description: "Siebel ",
tags: [],
latitude: 40.113812,
longitude: -88.224937,
},
Expand Down

0 comments on commit 9675802

Please sign in to comment.