summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/server.go')
-rw-r--r--cmd/gotosocial/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotosocial/server.go b/cmd/gotosocial/server.go
index 690f928fa..fda5bad90 100644
--- a/cmd/gotosocial/server.go
+++ b/cmd/gotosocial/server.go
@@ -36,7 +36,7 @@ func serverCommands() *cobra.Command {
Use: "start",
Short: "start the gotosocial server",
PreRunE: func(cmd *cobra.Command, args []string) error {
- return preRun(cmd)
+ return preRun(preRunArgs{cmd: cmd})
},
RunE: func(cmd *cobra.Command, args []string) error {
return run(cmd.Context(), server.Start)