Skip to content

Commit

Permalink
Enable participate feature with user-created activity.
Browse files Browse the repository at this point in the history
<How to verify>

1. First, login with Discord account, so you can create acitivity.
2. Create an activity. (The just created activity will have `signup` property as `0` since this commit.)
   After creation succeeds, you can see the new actvity showing up in the main page.
3. At the main page, click the new activity, and click `participte`.

   => you will get something like
   `successfully signup` if you do it the first time.
   or
   `you have signed up the session: $title` if you do it multiple time.
  • Loading branch information
humorless committed Jul 25, 2024
1 parent 12eb61c commit 2938306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/co/gaiwan/compass/routes/sessions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
:session/description description
:session/type (keyword "session.type" type)
:session/location (keyword "location.type" location)
:session/signup 0
:session/capacity (parse-long capacity)}
(= ticket-required? "on")
(assoc :session/ticket-required? true)
Expand Down

0 comments on commit 2938306

Please sign in to comment.