acmutd / acmutd/acmutd-api

Create API Key expiresAt field

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Go
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The POST /admin/apikeys endpoint creates an api key. the expiresAt field is optional, but if not included it defaults to being automatically expired. Could change to:
1. make the field required and throw an error if not included
2. default to expiring a year from now if not included
3. make the key never expire if not included (probably not this one)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.