Skip to content

Commit

Permalink
Allow null in user schema for name (#983)
Browse files Browse the repository at this point in the history
* Allow null in user schema for name

* Update discprov schema
  • Loading branch information
raymondjacobson committed Oct 26, 2020
1 parent 5432b66 commit d4cefa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion discovery-provider/src/schemas/user_schema.json
Expand Up @@ -7,7 +7,7 @@
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"type": ["string", "null"],
"default": null
},
"profile_picture": {
Expand Down
2 changes: 1 addition & 1 deletion libs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/package.json
@@ -1,6 +1,6 @@
{
"name": "@audius/libs",
"version": "1.0.6",
"version": "1.0.7",
"description": "",
"main": "src/index.js",
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion libs/src/services/schemaValidator/schemas/userSchema.json
Expand Up @@ -7,7 +7,7 @@
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"type": ["string", "null"],
"default": null
},
"profile_picture": {
Expand Down

0 comments on commit d4cefa4

Please sign in to comment.