mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-27 12:43:33 -06:00
Tidying and linting
This commit is contained in:
parent
e497794059
commit
1d017d0563
11 changed files with 85 additions and 92 deletions
|
|
@ -25,7 +25,7 @@ type fileServer struct {
|
|||
// New returns a new fileServer module
|
||||
func New(config *config.Config, db db.DB, storage storage.Storage, log *logrus.Logger) apimodule.ClientAPIModule {
|
||||
|
||||
storageBase := fmt.Sprintf("%s", config.StorageConfig.BasePath) // TODO: do this properly
|
||||
storageBase := config.StorageConfig.BasePath // TODO: do this properly
|
||||
|
||||
return &fileServer{
|
||||
config: config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue