1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00

Add rake task for creating invite codes

This commit is contained in:
Jose Farias 2024-02-02 18:02:46 -06:00
parent b3a792c47d
commit 6a4ab5664d
No known key found for this signature in database
GPG key ID: 877CF7E5FFD0FB3F
2 changed files with 6 additions and 0 deletions

View file

6
lib/tasks/invites.rake Normal file
View file

@ -0,0 +1,6 @@
namespace :invites do
desc "Create an invitation code"
task create: :environment do
puts InviteCode.generate!
end
end