1
0

feat(api tokens): validate title field when creating a new token

This commit is contained in:
kolaente
2023-09-01 12:56:23 +02:00
parent e47ad021a3
commit 021f92303d
4 changed files with 29 additions and 10 deletions

View File

@ -3,6 +3,7 @@ import type {IApiToken} from '@/modelTypes/IApiToken'
export default class ApiTokenModel extends AbstractModel<IApiToken> {
id = 0
title = ''
token = ''
permissions = null
expiresAt: Date = null