Skip to content

Commit

Permalink
Change case 'post' to 'create'
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyguru committed Dec 6, 2023
1 parent 35e9a9a commit 9400de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/routes/activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func getActivityHandler(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
var content []byte
switch vars["action"] {
case "post":
case "create":
obj, err := GetPostActivityObject(vars["id"])
if err != nil {
log.Println("Error reading object", err)
Expand Down

0 comments on commit 9400de7

Please sign in to comment.