mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #4338] [MERGED] Fix type for token.expires #3863
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3863
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4338
Author: @Sander0542
Created: 2/3/2025
Status: ✅ Merged
Merged: 2/5/2025
Merged by: @jc21
Base:
develop← Head:fix/token-expires-type📝 Commits (1)
57cd2a1Fix type for token.expires📊 Changes
3 files changed (+5 additions, -6 deletions)
View changed files
📝
backend/schema/components/token-object.json(+3 -4)📝
backend/schema/paths/tokens/get.json(+1 -1)📝
backend/schema/paths/tokens/post.json(+1 -1)📄 Description
Currently, the
token.expiresproperty is advertised as an interger in the api schema, but the API returns a ISO string. I updated the schema to match the actual API.github.com/NginxProxyManager/nginx-proxy-manager@b4f49969d6/backend/internal/token.js (L70)github.com/NginxProxyManager/nginx-proxy-manager@b4f49969d6/backend/internal/token.js (L131)github.com/NginxProxyManager/nginx-proxy-manager@b4f49969d6/backend/internal/token.js (L159)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.