aaronsegura / nextcloud-async

Async-capable python wrapper for Nextcloud APIs
GNU General Public License v3.0
13 stars 5 forks source link

Share:Adds logical to valid the expired datetime param in create_share function #23

Open cuococarlos opened 4 months ago

cuococarlos commented 4 months ago

The reason for this pr is that when trying to use the create_share function it should always send a value in the expired_data parameter when it is optional to create a share via the nextcloud occ.

Adds a check that prevents the create_share raise an exception when no optional expire_date argument is given, in the api/ocs/shares.py module.