Unexpected hours_til_expiration
behavior
#498
Labels
blocked by dev
Automatically assigned when marking as blocked, needing developer involvement.
bug
Something isn't working
minor
Severity: Affects minor functionality or non-critical data. It has an easy workaround.
hours_til_expiration
column in the client table that defaults to 24/api/invite
and/api/resend-invite/{userId}
endpoints accept anhours_til_expiration
paramIt seems odd that the client-level default is overridden for invites. However, removing the route-level default of 48 would be a breaking change and would reduce the invite expiration time for existing projects that don't explicitly pass an
hours_til_expiration
in their invites. Maybe we should add ahours_til_invite_expiration
column that defaults to 48 and remove the default defined at the route level. Then existing functionality would be preserved.The reason this came up for me is because we wanted to extend invite expiration time and I tried to do it by updating
hours_til_expiration
in the client table.The text was updated successfully, but these errors were encountered: