Fix OAuth code exchange and go lint
Authorization-code exchange used ExternalClientID, which is empty for registered clients and broke e2e token grants. Pass the authenticated client's GID instead. Also satisfy wsl_v5 blank-line rules, wire the delete reference dialog through its mutation hook, and name the filemanager logger. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -60,6 +60,7 @@ func (w *CacheStore) WarmCache(ctx context.Context) error {
|
||||
ctx,
|
||||
func(ctx context.Context, conn pg.Querier) error {
|
||||
var domains coredata.CustomDomains
|
||||
|
||||
keepCertificateIDs, err := domains.LoadReferencedCertificateIDs(ctx, conn)
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot load referenced certificate ids: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user