Skip to content

Commit 18a2852

Browse files
fix: cache api lookup invalid
1 parent 7a296c9 commit 18a2852

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

db-connector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6314,6 +6314,7 @@ func SetUser(ctx context.Context, user *User, updateOrg bool) error {
63146314
DeleteCache(ctx, user.ApiKey)
63156315
DeleteCache(ctx, user.Session)
63166316
DeleteCache(ctx, fmt.Sprintf("session_%s", user.Session))
6317+
DeleteCache(ctx, fmt.Sprintf("Users_%s", user.ApiKey))
63176318
if project.CacheDb {
63186319
cacheKey := fmt.Sprintf("user_%s", parsedKey)
63196320

0 commit comments

Comments
 (0)