1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix(import): data dump already exists

handle the import when there is already an active data dump exists.

Resolves #502
This commit is contained in:
Edward
2023-07-13 23:54:48 +08:00
parent 5f1ca4ed69
commit 7b0bbcefe6
2 changed files with 55 additions and 11 deletions

View File

@@ -6,6 +6,10 @@ type DataDumpViewModel struct {
TotalPages int `json:"total_pages"`
}
type DataDumpResultErrorModel struct {
Error string `json:"error"`
}
type DataDumpResultViewModel struct {
Data *DataDumpData `json:"data"`
}