Skip to content

Commit

Permalink
fix: remote redundant code (#94)
Browse files Browse the repository at this point in the history
I must have left this in here during testing
  • Loading branch information
gmaclennan authored Aug 2, 2023
1 parent a0a0bc0 commit 2de7197
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@ export function validate<
): obj is FilterBySchemaName<MapeoValue, TSchemaName> {
return validations[schemaName](obj)
}

let obj = JSON.parse('')

if (validate('observation', obj)) {
obj.attachments
}

0 comments on commit 2de7197

Please sign in to comment.