Skip to content

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

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