From 89d3aece041c85ebe5a1ad4e620388af5227cbb0 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 3 Dec 2024 00:16:51 +0200 Subject: [PATCH] Add parameter --- giphyproxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{