Compare commits
2 Commits
ccb810ee69
...
85fe309b05
Author | SHA1 | Date | |
---|---|---|---|
85fe309b05 | |||
e7b8338932 |
@@ -22,7 +22,7 @@ docker-build:
|
||||
# All branches are tagged with $DOCKER_IMAGE_NAME (defaults to commit ref slug)
|
||||
# Default branch is also tagged with `latest`
|
||||
script:
|
||||
- docker build --pull -t "$DOCKER_IMAGE_NAME" .
|
||||
- docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from $CI_REGISTRY_IMAGE:latest --pull -t "$DOCKER_IMAGE_NAME" .
|
||||
- docker push "$DOCKER_IMAGE_NAME"
|
||||
- |
|
||||
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
|
||||
|
13
internal/web/dto/adminDash.go
Normal file
13
internal/web/dto/adminDash.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package dto
|
||||
|
||||
type ApproveMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
||||
|
||||
type LoginInput struct {
|
||||
Password string `json:"password" binding:"required"`
|
||||
}
|
||||
|
||||
type RejectMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type ApproveMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type LoginInput struct {
|
||||
Password string `json:"password" binding:"required"`
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
package dto
|
||||
|
||||
type RejectMediaInput struct {
|
||||
MediaId string `json:"mediaId" binding:"required"`
|
||||
}
|
Reference in New Issue
Block a user