Skip to content

fix /api/settings/presence permission check #36

fix /api/settings/presence permission check

fix /api/settings/presence permission check #36

Triggered via push January 13, 2024 11:56
Status Failure
Total duration 1m 10s
Artifacts

lint-be.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Linting: internal/listeners/antiraid_test.go#L141
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/antiraid_test.go#L142
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/antiraid_test.go#L152
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/antiraid_test.go#L177
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMemberAdd: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/inviteblock_test.go#L159
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.HandlerMessageSend: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/karma_test.go#L135
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/karma_test.go#L150
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/karma_test.go#L165
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/karma_test.go#L180
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)
Linting: internal/listeners/karma_test.go#L195
cannot use m.session (variable of type *mocks.ISession) as discordutil.ISession value in argument to l.Handler: *mocks.ISession does not implement discordutil.ISession (missing method GuildOnboarding)