| ... | @@ -22,10 +22,9 @@ pub const Client = struct { | ... | @@ -22,10 +22,9 @@ pub const Client = struct { |
| 22 | secret: string, | 22 | secret: string, |
| 23 | }; | 23 | }; |
| 24 | | 24 | |
| 25 | pub const providers = struct { | 25 | fn icon_url(comptime name: string) string { |
| 26 | fn icon_url(comptime name: string) string { | 26 | return "https://unpkg.com/simple-icons@" ++ "5.13.0" ++ "/icons/" ++ name ++ ".svg"; |
| 27 | return "https://unpkg.com/simple-icons@" ++ "5.13.0" ++ "/icons/" ++ name ++ ".svg"; | 27 | } |
| 28 | } | | |
| 29 | | 28 | |
| 30 | pub const providers = struct { | 29 | pub const providers = struct { |
| 31 | pub var amazon = Provider{ | 30 | pub var amazon = Provider{ |