Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug
Browse files Browse the repository at this point in the history
AnatoleAM committed Dec 3, 2023

Verified

This commit was signed with the committer’s verified signature.
fengmk2 fengmk2
1 parent e99f33d commit ca3050a
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/api/operations/sync_user.go
Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@ func SyncUser(gctx global.Context, ctx context.Context, req compactdisc.Request[
"discord_id", con.ID,
)

z.Debug()

member, err := dis.State.Member(guildID, con.ID)
if err != nil { // member is not in state, so we must fetch them
member, err = dis.GuildMember(guildID, con.ID)
2 changes: 1 addition & 1 deletion terraform/config.template.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Log level
level: info
level: debug

cdn_url: cdn.7tv.app
website_url: https://7tv.app

0 comments on commit ca3050a

Please sign in to comment.