attribute invite codes to admins/moderators
Compare changes
@@ -68,6 +68,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
when a regular user (who has the appropriate permissions) creates an invite, we record that user's id in the createdById
column (see https://activitypub.software/TransFem-org/Sharkey/-/blob/feature%2Fattribute-invites-to-mods/packages/backend/src/server/api/endpoints/invite/create.ts#L77-78 )
but when an admin/mod creates an invite via the control panel, we didn't
now we do
thanks to Rire on Discord for making me look
By submitting this merge request, you agree to follow our Contribution Guidelines