acmutd / acmutd/acmutd-api

Create API Key expiresAt field

Offen
#23 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bug
Vorherrschende Sprache
Go
Sterne
2
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.