Skip to content

feat: handle superuser field in the API response

Codecov / codecov/patch failed Nov 11, 2023 in 0s

0.00% of diff hit (target 17.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 17.00%)

Annotations

Check warning on line 147 in internal/api/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/auth.go#L147

Added line #L147 was not covered by tests

Check warning on line 32 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L22-L32

Added lines #L22 - L32 were not covered by tests

Check warning on line 34 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L34

Added line #L34 was not covered by tests

Check warning on line 38 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L36-L38

Added lines #L36 - L38 were not covered by tests

Check warning on line 40 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L40

Added line #L40 was not covered by tests

Check warning on line 51 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L50-L51

Added lines #L50 - L51 were not covered by tests

Check warning on line 55 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 59 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 63 in internal/authenticator/admin_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/admin_authenticator.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 104 in internal/authenticator/auto_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/auto_authenticator.go#L103-L104

Added lines #L103 - L104 were not covered by tests

Check warning on line 39 in internal/authenticator/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/builder.go#L36-L39

Added lines #L36 - L39 were not covered by tests

Check warning on line 58 in internal/authenticator/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/builder.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 68 in internal/authenticator/builder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/builder.go#L60-L68

Added lines #L60 - L68 were not covered by tests

Check warning on line 134 in internal/authenticator/manual_authenticator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/authenticator/manual_authenticator.go#L133-L134

Added lines #L133 - L134 were not covered by tests