diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 19bc00a..8ed899c 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -93,7 +93,7 @@ module IssuePatch # Create a shareable link for a customer def share_token - CustomerToken.create(:expires_at => Time.now + 24.hours, :issue_id => id) + CustomerToken.create(:expires_at => Time.now + 1.month, :issue_id => id) end end