Skip to content
Snippets Groups Projects

fix: should use invite limit cycle to calculate invite/limit

Merged Zero Calorie requested to merge lhcfl/sharkey:fix-invite-cycle into develop

What does this PR do? (Please give us a brief description of what this PR does.)

In invite/limit, inviteExpirationTime is used incorrectly to calculate the remaining invite code number. It should be changed to inviteLimitCycle.

See: https://activitypub.software/TransFem-org/Sharkey/-/blob/develop/packages/backend/src/server/api/endpoints/invite/create.ts#L60

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request
Edited by Zero Calorie

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading