-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
v2.0.0
Describe the bug
API key created by system admin cannot write data due to get account function is the getAccountByEnvironmentID API:
Lines 68 to 71 in a6c5494
resp, err := getAccountFunc(publicAPIEditor.Maintainer) | |
if err != nil { | |
return nil, err | |
} |
usage ref:
Lines 1271 to 1274 in a6c5494
resp, err := s.accountClient.GetAccountV2ByEnvironmentID(ctx, &accountproto.GetAccountV2ByEnvironmentIDRequest{ | |
Email: email, | |
EnvironmentId: environmentId, | |
}) |
Example: this is called when we try to create a push with API key created by system admin account
Steps to reproduce the bug
No response
Expected behavior
No response
Relevant log output
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress