Add URL for sending message to the list of URLs we give out

This commit is contained in:
Eli Ribble 2026-03-22 07:06:50 +00:00
parent 9c56f148e4
commit 82ecf0f5d1
No known key found for this signature in database
2 changed files with 15 additions and 2 deletions

View file

@ -10,7 +10,8 @@ import (
)
type contentURLAPI struct {
Communication string `json:"communication"`
Communication string `json:"communication"`
PublicreportMessage string `json:"publicreport_message"`
}
type contentURLs struct {
API contentURLAPI `json:"api"`
@ -32,7 +33,8 @@ func getUserSelf(ctx context.Context, r *http.Request, user platform.User, query
Self: user,
URLs: contentURLs{
API: contentURLAPI{
Communication: urls.API.Communication,
Communication: urls.API.Communication,
PublicreportMessage: urls.API.Publicreport.Message,
},
Tegola: urls.Tegola,
},