1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-12-21 06:30:43 +00:00

Add parameter

This commit is contained in:
Tulir Asokan 2024-12-03 00:16:51 +02:00
parent 266f98579a
commit 89d3aece04

View file

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