aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2024-12-03 00:16:51 +0200
committerTulir Asokan <tulir@maunium.net>2024-12-03 00:16:51 +0200
commit89d3aece041c85ebe5a1ad4e620388af5227cbb0 (patch)
tree000ba83106ae3bca701519152552479a4d53e586
parent266f98579a048ae527c2f39e39e67eba7836dd47 (diff)
Add parameter
-rw-r--r--giphyproxy/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/giphyproxy/main.go b/giphyproxy/main.go
index c0b0ec9..7b43364 100644
--- a/giphyproxy/main.go
+++ b/giphyproxy/main.go
@@ -60,7 +60,7 @@ func main() {
}
}
-func getMedia(_ context.Context, id string) (response mediaproxy.GetMediaResponse, err error) {
+func getMedia(_ context.Context, id string, _ map[string]string) (response mediaproxy.GetMediaResponse, err error) {
// This is not related to giphy, but random cats are always fun
if id == "cat" {
return &mediaproxy.GetMediaResponseURL{
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage