mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 04:23:16 +00:00
chore: fix postgres driver
This commit is contained in:
@ -55,7 +55,7 @@ func (d *DB) ListWorkspaceSettings(ctx context.Context, find *store.FindWorkspac
|
||||
where, args := []string{"1 = 1"}, []interface{}{}
|
||||
|
||||
if find.Key != storepb.WorkspaceSettingKey_WORKSPACE_SETTING_KEY_UNSPECIFIED {
|
||||
where, args = append(where, "key = $"+placeholder(len(args)+1)), append(args, find.Key.String())
|
||||
where, args = append(where, "key = "+placeholder(len(args)+1)), append(args, find.Key.String())
|
||||
}
|
||||
|
||||
query := `
|
||||
|
Reference in New Issue
Block a user