summaryrefslogtreecommitdiff
path: root/internal/media/manager.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-30 10:50:28 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-30 10:50:28 +0100
commit0108463e7b179af1c796042dd10f4fe1020b9075 (patch)
treee18fb53a8950153be0a17060329b70ef5d222be8 /internal/media/manager.go
parent[performance/postgres] Rename constraints, remove duplicate indexes (#2392) (diff)
downloadgotosocial-0108463e7b179af1c796042dd10f4fe1020b9075.tar.xz
[bugfix] Update exif-terminator (fix png issue) (#2391)
* [bugfix] Update exif-terminator (fix png issue) * bump exif terminator * fix tests
Diffstat (limited to 'internal/media/manager.go')
-rw-r--r--internal/media/manager.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/media/manager.go b/internal/media/manager.go
index dfae37d80..5f496a71d 100644
--- a/internal/media/manager.go
+++ b/internal/media/manager.go
@@ -53,8 +53,7 @@ type Manager struct {
// NewManager returns a media manager with given state.
func NewManager(state *state.State) *Manager {
- m := &Manager{state: state}
- return m
+ return &Manager{state: state}
}
// PreProcessMedia begins the process of decoding