Skip to content

Conversation

@Jaden51
Copy link
Contributor

@Jaden51 Jaden51 commented Oct 20, 2025

Description

Implementing database methods and updating handlers

Next up: clean up! and then we can finally start doing other things.

Copy link
Member

@bjzsh bjzsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


func (r *AuthRepository) UpdateLastUsed(ctx context.Context, keyId string) error {
return nil
query := `UPDATE application SET last_used_at = $1 WHERE key_id = $2`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think $1 can be NOW() which is a pretty inconsequential improvement but still technically more performant lol

@Jaden51 Jaden51 merged commit 2c2308f into main Oct 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants