Skip to content

Commit

Permalink
fix(api-addresses): Main isn't required when updating an address (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-lau authored Jun 5, 2024
1 parent 3c8e2d9 commit c9188b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/addresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ module.exports = (db, server, userHandler, settingsHandler) => {
.description(
'New address if you want to rename existing address. Only affects normal addresses, special addresses that include * can not be changed'
),
main: booleanSchema.required().description('Indicates if this is the default address for the User'),
main: booleanSchema.description('Indicates if this is the default address for the User'),
tags: Joi.array().items(Joi.string().trim().max(128)).description('A list of tags associated with this address'),

metaData: metaDataSchema.label('metaData').description('Optional metadata, must be an object or JSON formatted string'),
Expand Down

0 comments on commit c9188b3

Please sign in to comment.