Browse Source

Add parameter

master
Tulir Asokan 3 weeks ago
parent
commit
89d3aece04
  1. 2
      giphyproxy/main.go

2
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{

Loading…
Cancel
Save