summaryrefslogtreecommitdiff
path: root/shrine/services/config.go
blob: 6077d1e62f6cbac03586ef5b49ecb4c96921c729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package services

import (
	"shrine/config"
	configTypes "shrine/types/config"
)

func GetConfig() configTypes.ConfigResponse {
	return configTypes.ConfigResponse{
		MaxFileSize:    config.Storage.MaxFileSize,
		MaxAttachments: config.Storage.MaxAttachments,
	}
}