mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
test githook
This commit is contained in:
parent
ba856038e2
commit
656e91339a
1 changed files with 3 additions and 1 deletions
|
@ -9,5 +9,7 @@ type File* = ref object of Model
|
|||
tags*: string #? This is a temporary hack should be `seq[string]` or `JsonNode` instead
|
||||
|
||||
# creates a new file object and sets default values, recommended by the norm documentation
|
||||
func newFile*(user: User = newUser(), path: string = "", name: string = "", tags: string = ""): File =
|
||||
func newFile*(user: User = newUser(), path: string = "", name: string = "",
|
||||
tags: string = ""): File =
|
||||
File(owner: user, path: path, name: name, tags: tags)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue