File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1310,7 +1310,7 @@ func templateHelpers(options *coderd.Options) map[string]any {
1310
1310
"base_url" : func () string { return options .AccessURL .String () },
1311
1311
"current_year" : func () string { return strconv .Itoa (time .Now ().Year ()) },
1312
1312
"logo_url" : func () string {
1313
- ctx , cancel := context .WithTimeout (context .Background (), 1 * time .Second )
1313
+ ctx , cancel := context .WithTimeout (context .Background (), 1 * time .Second )
1314
1314
defer cancel ()
1315
1315
1316
1316
logoURL , err := options .Database .GetLogoURL (ctx )
@@ -1325,7 +1325,7 @@ func templateHelpers(options *coderd.Options) map[string]any {
1325
1325
return logoURL
1326
1326
},
1327
1327
"app_name" : func () string {
1328
- ctx , cancel := context .WithTimeout (context .Background (), 1 * time .Second )
1328
+ ctx , cancel := context .WithTimeout (context .Background (), 1 * time .Second )
1329
1329
defer cancel ()
1330
1330
1331
1331
appName , err := options .Database .GetApplicationName (ctx )
You can’t perform that action at this time.
0 commit comments