chores: bump voki to v2.0.3

This commit is contained in:
Victor Lacasse-Beaudoin 2024-02-15 19:32:50 -05:00
parent 3f0bf238e0
commit 9367f0f4c0
6 changed files with 19 additions and 496 deletions

View file

@ -1,7 +1,7 @@
package responses
import "codeberg.org/vlbeaudoin/voki/response"
import "codeberg.org/vlbeaudoin/voki/v2"
type GetHealthResponse struct {
response.ResponseWithError
voki.ResponseWithError
}

View file

@ -1,12 +1,12 @@
package responses
import (
"codeberg.org/vlbeaudoin/voki/response"
"codeberg.org/vlbeaudoin/voki/v2"
"git.agecem.com/agecem/bottin/v6/models"
)
type ListMembresResponse struct {
response.ResponseWithError
voki.ResponseWithError
Data struct {
Membres []models.Membre
}

View file

@ -1,16 +1,16 @@
package responses
import "codeberg.org/vlbeaudoin/voki/response"
import "codeberg.org/vlbeaudoin/voki/v2"
type PostMembresResponse struct {
response.ResponseWithError
voki.ResponseWithError
Data struct {
MembresInserted int64
}
}
type PostProgrammesResponse struct {
response.ResponseWithError
voki.ResponseWithError
Data struct {
ProgrammesInserted int64
}