Skip to content

Commit

Permalink
Merge pull request #110 from diaspora/cmrd-senya-patch-1
Browse files Browse the repository at this point in the history
Entities JSON schema: width & height are optional
  • Loading branch information
SuperTux88 committed Apr 28, 2019
2 parents 4d8aeae + e12736f commit 48bb0a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.2.6

## Bug fixes

* Make `width` and `height` optional for photos in the JSON schema [#110](https://github.com/diaspora/diaspora_federation/pull/110)

# 0.2.5

## Features
Expand Down
2 changes: 1 addition & 1 deletion docs/schemas/federation_entities.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
"height": {"type": "number"}
},
"required": [
"author", "guid", "public", "created_at", "remote_photo_path", "remote_photo_name", "width", "height"
"author", "guid", "public", "created_at", "remote_photo_path", "remote_photo_name"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/diaspora_federation/schemas/federation_entities.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
"height": {"type": "number"}
},
"required": [
"author", "guid", "public", "created_at", "remote_photo_path", "remote_photo_name", "width", "height"
"author", "guid", "public", "created_at", "remote_photo_path", "remote_photo_name"
]
}
}
Expand Down

0 comments on commit 48bb0a0

Please sign in to comment.